[Rd] library.dynam.unload

Henric Winell nilsson.henric at gmail.com
Sat Mar 26 14:46:32 CET 2016


Den 2016-03-25 kl. 14:20, skrev Therneau, Terry M., Ph.D.:

> The survival package has a firstlib.R file that I had forgotton and just
> reviewed.  After deleting several bits which had a use 10 years ago
> during my Splus to R transition, the only thing remaining is
>
> .onUnload <- function(libpath)
>      library.dynam.unload("survival", libpath)
>
> Does this bit of code still serve a purpose?  Can I toss it?

This is still relevant.  For example, WRE Section 1.5.3. says that

"Compiled code should be loaded in .onLoad (or via a useDynLb directive: 
see below) and unloaded in .onUnload."


Henric



>
> Terry T.
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>



More information about the R-devel mailing list