[R] use of "@" character in variable name
Thomas Lumley
tlumley at u.washington.edu
Fri Mar 27 08:40:24 CET 2009
On Thu, 26 Mar 2009, Mike Miller wrote:
> Importing data with a header row using read.delim, one variable should be named
> @5HTT but it is automatically renamed to X.5HTT, presumably because the "@" is
> either unacceptable or misunderstood. I've tried to find out what the rules
> are on variable names but have been unsuccessful. I'll bet someone here can
> tell me where to look. Maybe it's hidden away in here somewhere:
>
> http://cran.r-project.org/doc/manuals/R-data.pdf
It's hidden away in: FAQ 7.14 What are valid names?
-thomas
Thomas Lumley Assoc. Professor, Biostatistics
tlumley at u.washington.edu University of Washington, Seattle
More information about the R-help
mailing list