assignInEnvs <- function(envs, string, value) {
if (is.function(value)) {
assignFunc(envs, string, value)
} else {
assignVal(envs, string, value)
}
invisible()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.