.onLoad <- function(libname, pkgname) {
## Load font tables once
assign("sysFonts", sys_fonts(), envir=layoutEngineEnv)
assign("fontTable", fonttable(), envir=layoutEngineEnv)
## Initialise package options
## (backend packages will override this)
options("layoutEngine.backend"=nullEngine,
"layoutEngine.debug"=FALSE)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.