Re: [R] Error reading a table

2008-06-27 Thread jim holtman
Try read.table(,fill=TRUE) On Fri, Jun 27, 2008 at 12:00 PM, <[EMAIL PROTECTED]> wrote: > Hi, > > I get the following error when I try to read in a CSV file: > >> Path<-read.table('MetaCycSample2.csv',sep=',', header=FALSE) > Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.

[R] Error reading a table

2008-06-27 Thread naw3
Hi, I get the following error when I try to read in a CSV file: > Path<-read.table('MetaCycSample2.csv',sep=',', header=FALSE) Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings, : line 17 did not have 5 elements Some of the rows have more columns than others. Also whe