[Rd] .First.lib and namespaces

From: Deepayan Sarkar <deepayan_at_stat.wisc.edu>
Date: Fri 03 Sep 2004 - 10:13:25 EST

The lattice package has a namespace, so it has a .onLoad function. I also keep around a .First.lib, for use during development, when I temporarily delete the NAMESPACE file.

When using a namespace, I used to comment out the .First.lib function. However, that seems unnecessary since it's not executed anyway. Is this intended (and dependable) behaviour?

(If so, this should probably be mentioned in ?library, which currently says

     '.First.lib' is called when a package is loaded; '.Last.lib' is
     called when a package is detached.

without any mention of namespaces).


R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri Sep 03 10:17:51 2004

This archive was generated by hypermail 2.1.8 : Fri 18 Mar 2005 - 09:00:04 EST