.onUnload <- function(libpath) {
library.dynam.unload("quantstrat", libpath)
}
.onLoad <- function(lib, pkg) {
if(!exists('.strategy'))
.strategy <<- new.env()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.