[R] Problem reading a CSV

naw3 at duke.edu naw3 at duke.edu
Mon Jun 30 20:16:58 CEST 2008


Hi,

I have a CSV file where each row has at least 20 columns and some rows have up
to 30 columns of data. When I use the command,

Pathways<-read.table('MetaCycSample3.csv',sep=',',header=FALSE,quote='"')

anything past the 21st column gets kicked down to a new row. How can I fix this?

Thanks,
-Nina



More information about the R-help mailing list