.onLoad <- function(libname, pkgname) {
env <- parent.env(environment())
assign("models.global", new.env(), envir=env)
load.models(pkgname)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.