R/zzz.R

Defines functions .onAttach .onLoad

.onAttach <- function(libname, pkgname) {

    packageStartupMessage(paste0("Set default RNG to L'Ecuyer-CMRG for a safe ",
                                 "parallel simulation."))

}

.onLoad <- function(libname, pkgname) {

    RNGkind("L'Ecuyer-CMRG")

}

Try the ruin package in your browser

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

ruin documentation built on May 2, 2019, 7:31 a.m.