From nilsson.henric at gmail.com  Sat Mar 26 14:46:32 2016
From: nilsson.henric at gmail.com (Henric Winell)
Date: Sat, 26 Mar 2016 14:46:32 +0100
Subject: [Rd] library.dynam.unload
In-Reply-To: <519743$2n80ni@ironport10.mayo.edu>
References: <519743$2n80ni@ironport10.mayo.edu>
Message-ID: <56F692B8.3050703@gmail.com>

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
>



[Rd] library.dynam.unload
Henric Winell