[R] Reserve word "in" could not be used it as a "dimname"?

S Ellison S.Ellison at LGCGroup.com
Thu Jul 11 12:07:02 CEST 2013


> -----Original Message-----
> "Reserved words outside quotes are always parsed to be 
> references to the objects linked to in the 'Description', and 
> hence they are not allowed as syntactic names (see 
> make.names). They are allowed as non-syntactic names, e.g. 
> inside backtick quotes."
> You should prefer the use of "[" rather than "$".

The magic of $ also allows dat$"in" or dat$'in'

But you may have a happier time if you rename the columns to "In" and "Out", neither of which is reserved.

S Ellison

This email and any attachments are confidential. Any use...{{dropped:8}}

More information about the R-help mailing list