[R] Problem with read.table
ben at zoo.ufl.edu
Fri Mar 21 20:58:47 CET 2003
Should that be sep="\t" ?
On Fri, 21 Mar 2003, sabrina servanty wrote:
> Dear all,
> I was used to work on R1.6 and I have now passed on R1.6.2 but I can't read my
> file (and that is a big problem!!).
> I made a data sheet with some
> spreadsheet in Excell, and save it as separeted by tab .txt.
> I write in R
> read.table ("file.txt",h=T,sep="/t",dec=",")
> But R consider that I have only one column (eG one variable)!!!
> I have tried a lot of thing (I don't wrote the spreadsheet,I have verified in word
> that my column was really separated by tabulation...) but I really don't find.
> It may be really simple but I'm not really good to speak with R!
> Sabrina Servanty.
> Boîte aux lettres - Caramail - http://www.caramail.com
318 Carr Hall bolker at zoo.ufl.edu
Zoology Department, University of Florida http://www.zoo.ufl.edu/bolker
Box 118525 (ph) 352-392-5697
Gainesville, FL 32611-8525 (fax) 352-392-3704
More information about the R-help