.onLoad <- function(libname, pkgname)
{
cat("called onLoad")
path <- capture.output(float:::ldflags())
Sys.setenv(PATH = paste(path, Sys.getenv("PATH"), sep = ";"))
}
.onAttach <- function(libname, pkgname)
{
path <- capture.output(float:::ldflags())
Sys.setenv(PATH = paste(path, Sys.getenv("PATH"), sep = ";"))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.