Displaying 1 result from an estimated 1 matches for "sr003line".
Did you mean:
sr003lines
2009 Jun 19
3
read.table error
Hello,
I'm receiving an error on attempting to use the read.table() function
to read in data from a tab-delimited file. The file has more than
60,000 rows with 94 tab-delimited columns. However, the error occurs
on row 3 of the file:
> wl <-read.table("sr003lines.tab", header=T, sep="\t")
Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings, :
line 3 did not have 94 elements
On receiving this error, I wrote a python script to go through the
file to find rows with fewer than the 94 columns -- python finds that
the fir...