R/onAttach.R

Defines functions .onAttach

# this function is internal, not meant for the user


.onAttach <- function(...)  {
  library(help=lm.br)$info[[1]] -> version
  version <- version[pmatch("Version",version)]
  um <- strsplit(version," ")[[1]]
  version <- um[nchar(um)>0][2]
  hello <- paste( " lm.br  version ", version, 
    ",  '?lm.br' starts help", sep="" )
  packageStartupMessage( hello )
}

Try the lm.br package in your browser

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

lm.br documentation built on March 19, 2024, 3:08 a.m.