THISPKG <- "oligoClasses"
.oligoClassesPkgEnv <- new.env(parent=emptyenv())
.onAttach <- function(libname, pkgname) {
version <- packageDescription("oligoClasses", fields="Version")
packageStartupMessage("Welcome to oligoClasses version ", version)
ldSetOptions()
## bm <- ldStatus(TRUE)
## snow <- ocParallelStatus()
setHook(packageEvent("ff", "attach"),
function(...){
ldSetOptions(verbose=FALSE)
ldStatus(TRUE)
})
setHook(packageEvent("foreach", "attach"),
function(...){
ocParallelStatus()
})
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.