.onLoad <- function(lib, pkg) {
rpProj <- Sys.getenv("RASTERPREP_PROJ")
if (!is.na(rpProj) && !rpProj == "") {
rasterPrepOptions(projLib = rpProj)
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.