[Rd] as.name and namespaces

peter dalgaard pdalgd at gmail.com
Tue Apr 23 19:32:52 CEST 2013


On Apr 23, 2013, at 19:23 , Patrick Burns wrote:

> 'as.name' doesn't recognize a name with
> its namespace extension as a name:
> 
> > as.name("lm")
> lm
> > as.name("stats::lm")
> `stats::lm`
> > as.name("stats:::lm")
> `stats:::lm`
> 
> 
> Is there a reason why it shouldn't?

Any reason why it should? :: and ::: are operators. foo$bar is not the same as `foo$bar` either.

-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com



More information about the R-devel mailing list