Re: [Rd] NAMESPACE Q: does import as exist?

From: Duncan Murdoch <>
Date: Wed 08 Feb 2006 - 02:10:52 GMT

On 2/7/2006 8:48 PM, Seth Falcon wrote:
> Is there a way to rename a function when importing it? I want to say,
> "import yourFunc from Foo as myFunc" in the NAMESPACE file.
> Does this exist and I've missed it? If it doesn't exist, would others
> think it useful (and possible)?

I don't know if that exists, but importing it and then copying it should work. That is, in your namespace import foo, and export bar, and in one of your R source files have

bar <- foo mailing list Received on Wed Feb 08 13:22:46 2006

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