[Rd] NAMESPACE

From: Dominick Samperi <dsamperi_at_decisionsynergy.com>
Date: Fri 22 Sep 2006 - 18:07:19 GMT


Hello,

I just tried to use NAMESPACE to prevent name conflicts between packages and it appears that once a name is exported it will clash with the same name if it is exported from another package, in particular, if that other package does not use NAMESPACE.

Is there a way to "export" a name so that the current package user can see it, but other packages cannot see it? My working assumption is that this is not possible, so I use a prefix like the package name to keep function names "local."

Thanks,
ds



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Sat Sep 23 04:12:25 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 22 Sep 2006 - 19:30:08 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.