[R] Header in read.table() function

Erik Iverson eriki at ccbr.umn.edu
Wed Feb 3 22:59:42 CET 2010



Paul Evans wrote:
> Hi All,
> I hadn't realized the 'a-1' will open such a can of worms!
> Actually, the header elements will look something like 
> 'ABCD-002-234-01D' (instead of 'a-1'). I get the files from somwhere 
> else, so I cannot change how the input file is. 
> Should I go ahead with the check.names=FALSE option?


Well, you could always let read.table change the - to . and go from 
there, since you'll know what happened.  It really depends on your needs!



More information about the R-help mailing list