Nothing
.onAttach <- function(libname, pkgname){
ver <- read.dcf(file=system.file("DESCRIPTION", package=pkgname),
fields=c("Version", "Date"))
packageStartupMessage(paste(pkgname, ver[1], "\t", ver[2]))
if (is.null(getOption("ocoptions")))
options("ocoptions" = list(
collapse="+",
cut=2,
sort=TRUE,
theme="br",
check_comb=TRUE,
try_error=FALSE,
scale=0.5,
fix_fitted=FALSE,
robust_loglik=TRUE))
options("pboptions" = list(
type = if (interactive()) "timer" else "none",
char = "[=-]",
txt.width = 50,
gui.width = 300,
style = 6,
initial = 0,
title = "R progress bar",
label = "",
nout = 100L,
min_time = 2))
invisible(NULL)
}
.onUnload <- function(libpath){
options("ocoptions" = NULL)
invisible(NULL)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.