R/zzz.R

".onAttach" <-
function (lib, pkg) 
{
  data(list=data(package=pkg)$results[,3],
       envir=as.environment(match(paste("package",pkg,sep=":"),
       search())))
 ver <- read.dcf(file.path(lib, pkg, "DESCRIPTION"), "Version")
 ver <- as.character(ver)
 packageStartupMessage("Rlab ", ver, " attached.\n")
} 

Try the Rlab package in your browser

Any scripts or data that you put into this service are public.

Rlab documentation built on May 30, 2017, 3:26 a.m.