ffbase2 icon indicating copy to clipboard operation
ffbase2 copied to clipboard

Read.csv.ffdf not passing the quote parameter to scan()

Open RonaldPhilipsen opened this issue 6 years ago • 0 comments

this is the same issue as in: https://github.com/edwindj/ffbase/issues/55, it doesn't work in ffbase 1 or 2 so im reposting it here

when attempting to read a Csv file that has every value in quotes (eg: "52.3605759") ffbase keeps throwing an error.

the function i'm using is: read.csv.ffdf(file = reviews, quote = "\"")

when i execute this line i get the following error message Error in scan(file = file, what = what, sep = sep, quote = quote, dec = dec, : scan() expected 'a real', got '"51.5137335"'

adding the decimal separator had no effect read.csv.ffdf(file = reviews, quote = "\"", dec = ".")

i expect FF to pass the parameters to scan, and thus read the file.

EDIT: just realised this is an issue with the base FF,

RonaldPhilipsen avatar Jan 15 '19 16:01 RonaldPhilipsen