.globals <- new.env(parent = emptyenv())
#' @importFrom V8 new_context
.onLoad <- function(libname, pkgname){
.globals$ctx <- get_context()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.