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

fread's jumps causing trouble #2404

Closed
franknarf1 opened this issue Oct 5, 2017 · 0 comments · Fixed by #2436
Closed

fread's jumps causing trouble #2404

franknarf1 opened this issue Oct 5, 2017 · 0 comments · Fixed by #2436
Labels
Milestone

Comments

@franknarf1
Copy link
Contributor

This file copied to a gist used to read in with fread (a year or so ago when I wrote my script), but now I get...

library(data.table)
fread("grr.csv")

Error in fread("grr.csv") :
Line 7 from sampling jump 1 starting <> has more than the expected 17 fields. Separator ',' occurs at position 241 which is character 9 of the last field: <<AAAAAAAA,AAAAAA>>. Consider setting 'comment.char=' if there is a trailing comment to be ignored.

In contrast, read.csv("grr.csv") still works, so that's what I will switch to for now. I guess Pasha's solution to my last issue along these lines might have worked for me here as well (#2157 allowing customization of the parameters behind the fread's jumping behavior), though I don't know it well enough to be sure.

@mattdowle mattdowle added this to the v1.10.6 milestone Oct 16, 2017
@mattdowle mattdowle added the dev label Oct 23, 2017
mattdowle added a commit that referenced this issue Oct 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants