[prev in list] [next in list] [prev in thread] [next in thread] 

List:       r-devel
Subject:    Re: [Rd] library.dynam.unload
From:       Henric Winell <nilsson.henric () gmail ! com>
Date:       2016-03-26 13:46:32
Message-ID: 56F692B8.3050703 () gmail ! com
[Download RAW message or body]

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@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic