Re: [Rd] The install.R and R_PROFILE.R files

From: Seth Falcon <sfalcon_at_fhcrc.org>
Date: Thu 02 Feb 2006 - 19:32:42 GMT

Thanks for the explaination of LazyLoad, that's very helpful.

On 1 Feb 2006, ripley@stats.ox.ac.uk wrote:
> There is no intention to withdraw SaveImage: yes. Rather, if
> lazy-loading is not doing a complete job, we could see if it could
> be improved.

It seems to me that LazyLoad does something different with respect to packages listed in Depends and/or how it interacts with namespaces.

I'm testing using the Bioconductor package graph and find that if I change SaveImage to LazyLoad I get the following:

Looking at the NAMESPACE for the graph package, it looks like it is missing some imports. I added lines:
  import(Ruuid)
  exportClasses(Ruuid)

Aside: am I correct in my reading of the extension manual that if one uses S4 classes from another package with a namespace, one must import the classes and *also* export them?

Now I see this:

But Ruuid _is_ defined and exported in the Ruuid package.

Is there a known difference in how dependencies and imports are handled with LazyLoad as opposed to SaveImage?

Thanks,

+ seth



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri Feb 03 06:45:11 2006

This archive was generated by hypermail 2.1.8 : Mon 20 Feb 2006 - 03:21:40 GMT