Skip to content

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

Closed as not planned
@RonaldPhilipsen

Description

@RonaldPhilipsen

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,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions