From deepayan at stat.wisc.edu  Fri Sep  3 02:13:25 2004
From: deepayan at stat.wisc.edu (Deepayan Sarkar)
Date: Fri Sep  3 02:13:17 2004
Subject: [Rd] .First.lib and namespaces
Message-ID: <200409021913.25918.deepayan@stat.wisc.edu>


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).

Deepayan


[Rd] .First.lib and namespaces
Deepayan Sarkar