From sfalcon at fhcrc.org  Thu Feb  9 17:23:36 2006
From: sfalcon at fhcrc.org (Seth Falcon)
Date: Thu, 09 Feb 2006 08:23:36 -0800
Subject: [Rd] How to change names when importing with a NAMESPACE
In-Reply-To: <Pine.LNX.4.64.0602081904310.28253@gannet.stats.ox.ac.uk> (Brian
	Ripley's message of "Wed, 8 Feb 2006 19:08:04 +0000 (GMT)")
References: <D79013E40FEF254AAF0D72DFC94F274816B00B@extas4-hba.tas.csiro.au>
	<m2mzh2edjq.fsf@ziti.local> <43E9DFBC.4090704@stats.uwo.ca>
	<m2lkwldgl8.fsf@ziti.local> <m23bitdbjm.fsf_-_@ziti.local>
	<Pine.LNX.4.64.0602081904310.28253@gannet.stats.ox.ac.uk>
Message-ID: <m2acd07b7b.fsf@ziti.local>

On  8 Feb 2006, ripley at stats.ox.ac.uk wrote:
> This is indeed described in
>
> http://www.stat.uiowa.edu/~luke/R/namespaces/morenames.html
>
> linked from developer.r-project.org.
>
> with the comment
>
> The purpose of baz is to import some of the exports of foo and bar
> and re-export them, using renaming in one case: bar's export g is
> imported under the internal name hh, and the internal variable hh is
> exported under the name gg. [Renaming seems like a useful option,
> but it may turn out to create too many complications and need to be
> dropped.]
>
> It's been there since 1.7.0 and not yet been dropped.

I'd like to interpret that as an endorsement that this feature is
likely to stay around.  Luke's comments indicates that at least in his
opinion the provisional nature is just as much provisional as now.

> It would be nice to have more end-user documentation on namespaces,
> and I have suggested it in the past.  A project for you, perhaps?

:-)

I will very likely write something up, at least as a summary of
lessons learned from this email exchange.  

+ seth



[Rd] How to change names when importing with a NAMESPACE
Seth Falcon