library(CodeAnalysis)
f = function(x) { y = x + a; z = 2*a ; return(z + y)}
fn = mkGlobalsLocal(f)
# Both references to a changed to .a
f = function(x) { y = x + a; z = 2*a ; return(z + y + a)}
fn = mkGlobalsLocal(f)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.