Hello, "e-letter",
check
?read.delim
and look for the argument check.names and from there you'll should end up
reading
?make.names
Hth -- Gerrit
On Fri, 23 Nov 2012, e-letter wrote:
Readers,
The function 'read.delim' was used to import data into R:
columnnamea columnnameb columnnamec
1 2 3
2 3 4
3 4 5
After import, the column names were:
X.columnnamea columnnameb columnnamec
Why did this occur?
--
r2151
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.