search for: monochrome2

Displaying 1 result from an estimated 1 matches for "monochrome2".

Did you mean: monochrome
2013 Jan 24
0
How to get read.table() or scan() to report line on which error occurs
...-read.table("mydata.dat", header=FALSE, sep=" ", col.names=mydatacolnames, colClasses=mydatacolclasses, row.names="hash") results in: Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings, : scan() expected 'a real', got 'MONOCHROME2' Calls: read.table -> scan Execution halted which is not very helpful, since it does not report where the error occurs, and searching for the offending string does not always help because it may occur many times. I know that I can do a: count.fields("mydata.dat", sep=&q...