R/hooks.R

Defines functions .onUnload .onLoad

.onLoad <- function(libname, pkgname) {
    options(lme4.summary.cor.max = 12)
}

.onUnload <- function(libpath) {
    gc()
    if (is.loaded("lmer_Deviance", PACKAGE="lme4"))
        library.dynam.unload("lme4", libpath)
}

Try the lme4 package in your browser

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

lme4 documentation built on June 22, 2021, 9:07 a.m.