I'm trying to read in a fairly large (3.5 Gb) csv file into R, using the
read.csv.ffdf() function from the ff package.

Whenever the function comes up to a numerical value (such as 40.0, or 2 -
doesn't mater if there is a decimal point or not), it throws the following
error:

Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings,  :
  scan() expected 'a real', got '"15"'


I've tried reading in a very similar file, albeit much smaller, using the
basic read.csv() function, and it loads correctly. But if I try loading it
with read.csv.ffdf(), it throws the same error.

Any ideas? Thanks!

Srdjan Santic

        [[alternative HTML version deleted]]

______________________________________________
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.

Reply via email to