Why are you not using read.csv()? > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] > Sent: Monday, June 30, 2008 2:17 PM > To: R-help@r-project.org > Subject: [R] Problem reading a CSV > > 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 > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.