R/zzz.R

Defines functions .onUnload .onLoad

.onLoad <- function(libname, pkgname) {
  .openblaspthreadoff(getLoadedDLLs()[["RcppPlanc"]][[4]])
  return(invisible(NULL))
}

.onUnload <- function(libpath) {
  .openblaspthreadon(getLoadedDLLs()[["RcppPlanc"]][[4]])
  library.dynam.unload("RcppPlanc", libpath)
  return(invisible(NULL))
}

Try the RcppPlanc package in your browser

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

RcppPlanc documentation built on April 15, 2025, 1:11 a.m.