Closed HenrikBengtsson closed 8 years ago
In a fresh R session, we get:
> loadNamespace("illuminaio") > names(getLoadedDLLs()) [1] "base" "methods" "utils" "grDevices" "graphics" [6] "stats" "base64" "illuminaio" > unloadNamespace("illuminaio") > loadedNamespaces() [1] "graphics" "base64" "utils" "grDevices" "stats" "datasets" [7] "methods" "base" > names(getLoadedDLLs()) [1] "base" "methods" "utils" "grDevices" "graphics" [6] "stats" "base64" "illuminaio"
Note how the illuminaio DLL is still there.
illuminaio
Add
.onUnload <- function(libpath) { library.dynam.unload("illuminaio", libpath) }
to the package.
R devel thread [Rd] Is it possible to increase MAX_NUM_DLLS in future R releases?, May 2, 2016.
Issue
In a fresh R session, we get:
Note how the
illuminaio
DLL is still there.Solution
Add
to the package.
See also
R devel thread [Rd] Is it possible to increase MAX_NUM_DLLS in future R releases?, May 2, 2016.