R/zzz.r

Defines functions onAttach

.onAttach <- function(...) { 

  library(help=JRM)$info[[1]] -> version
  version <- version[pmatch("Version",version)]
  um <- strsplit(version," ")[[1]]
  version <- um[nchar(um)>0][2]
  hello <- paste("\nThis is JRM ",version,".\nFor overview type 'help(\"JRM-package\")'.\n",sep="")
  packageStartupMessage(hello)
  
}

Try the JRM package in your browser

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

JRM documentation built on July 13, 2017, 5:03 p.m.