R/zzz.R

Defines functions .onLoad .onUnload

.onLoad <- function(libname,pkgname)
{
  if (!file.exists("C:/ldsmls"))
  {
    dir.create("C:/ldsmls")
  }
  options(mls_db_dir = "C:/ldsmls")
}

.onUnload <- function(libPath)
{
  options(mls_db_dir = NULL)
}
nutterb/ldsmls documentation built on May 24, 2019, 10:52 a.m.