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 5, 2022, 1:05 a.m.