-
Notifications
You must be signed in to change notification settings - Fork 979
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
fread fails to parse quotation mark as first character of field #1256
Comments
RuinedSubmartingale
changed the title
fread fails to parse quote immediately after separator
fread fails to parse quotation mark as first character of field
Aug 10, 2015
Thanks for the report. |
Removed quote argument with a better fix (slightly more robust) for quotes. Please upgrade and test. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Consider the following files:
file1.csv
file2.csv
file3.csv
file4.csv
Running
fread('file2.csv')
andfread('file4.csv')
run smoothly. Butfread('file1.csv')
throws the following error:And
fread('file3.csv')
throws a similar error:Error in fread("testfile.csv") :
The only difference between the two pairs of files is that file1 and file3 have fields that begin with a " character, whereas there's a space before the " in the fields for file2 and file4. Recent changes to
fread
seem to have caused this error in v1.9.5, seeing as how v1.9.4 is able to parse all 4 files smoothly.The text was updated successfully, but these errors were encountered: