[R] Problem with read.table

Spencer Graves spencer.graves at pdf.com
Fri Mar 21 21:02:39 CET 2003

Have you tried "count.fields" to confirm that R thinks all records have 
the same number of fields?

Spencer Graves

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!
> Regards
> Sabrina Servanty.
> ______________________________________________________
> Boîte aux lettres - Caramail - http://www.caramail.com
> ------------------------------------------------------------------------
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help

More information about the R-help mailing list