Skip to content

column name prefix 'x' after data import via read.delim

2 messages · e-letter, Gerrit Eichner

#
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
#
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: