Well, it seems that the following does what I want.  In the NAMESPACE
file, one can do:

  importFrom("pkgA", foo=bar)

Which will allow you to use the symbol 'foo' to refer to pkgA::bar.
This is exactly what I wanted.

Despite the lack of documentation, this seems an intentional feature.
Is there a reason not to document it and allow it as part of the
NAMESPACE feature set?

Best,

+ seth

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to