##############################################################################
# This code has to come first in a library. To do this make sure this file
# is named "000.R" (zeros).
##############################################################################
if (R.Version()$major < 2) {
require(R.oo) || stop("Could not load package: R.oo");
require(R.utils) || stop("Could not load package: R.utils");
options(dontWarnPkgs=unique(c("R.oo",
"base", "datasets", "graphics", "grDevices",
"methods", "stats", "utils", "Autoloads", getOption("dontWarnPkgs"))))
} else {
# Is autoload() allowed in R v2.0.0 or higher? According to the help one
# should not use require().
autoload("appendVarArgs", package="R.oo")
autoload("hasVarArgs", package="R.oo")
autoload("setMethodS3", package="R.oo")
autoload("setConstructorS3", package="R.oo")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.