Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
RonaldPhilipsen opened this issue Jan 15, 2019 · 0 comments
Open

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

RonaldPhilipsen opened this issue Jan 15, 2019 · 0 comments

Comments

@RonaldPhilipsen
Copy link

RonaldPhilipsen commented Jan 15, 2019

this is the same issue as in: edwindj/ffbase#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,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant