Hi, I have seen the answer to this sometime before but I just can't find it
again - pointers appreciated.

I have a package that contains some data.frames saved as .Rda files in the
data/ directory. When the package is loaded I would like to have them be
available in the workspace (without the user having to explicitly load them
using data(...)).

If my package does not use a NAMESPACE, I can place data(varName) in
.First.lib. However if I use NAMESPACES then the above line will fail when
placed in .onLoad. I was thinking of doing something such as
load'filename.Rda') but that would require me to know the path to the
package in a platform independent way.

Can anybody suggest how I can acheive this?

Thanks,

-- 
Rajarshi Guha
NIH Chemical Genomics Center

	[[alternative HTML version deleted]]


