getScriptGlobals =
function(file, ...)
{
if(is.language(file))
e = file
else
e = parse(file)
f = function() {}
body(f)[seq(along = e) + 1] = e
getGlobals(f, ...)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.