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 option to skip lines with format errors (with warning) #711

Open
Tracked by #3189
mattdowle opened this issue Jun 26, 2014 · 3 comments
Open
Tracked by #3189

fread option to skip lines with format errors (with warning) #711

mattdowle opened this issue Jun 26, 2014 · 3 comments
Labels
feature request fread top request One of our most-requested issues

Comments

@mattdowle
Copy link
Member

Perhaps also to skip particular rows or blocks of rows for some reason (even if they are valid).
Suggested by Darius here : http://stackoverflow.com/questions/24424928/fatal-error-using-fread-in-rstudio#comment37798442_24424928

@jrowen
Copy link

jrowen commented Nov 3, 2015

I'd like to add my vote for this enhancement. I have a commonly used csv data file that includes a disclaimer line at the end of the file. Because the last line is a long text chunk without any delimiters, fread throws an error when trying to load the file. My current workaround is to use readLines to determine the number of lines in the file and then specify nrows for fread.

@arunsrinivasan arunsrinivasan added this to the v2.0.0 milestone Mar 6, 2016
@karlrohe
Copy link

karlrohe commented Sep 9, 2016

This would be great!

@MichaelChirico
Copy link
Member

Solutions for some cases of this may be covered by #856

@mattdowle mattdowle removed this from the Candidate milestone May 10, 2018
@jangorecki jangorecki removed the Medium label Apr 2, 2020
@jangorecki jangorecki removed the High label Jun 3, 2020
@MichaelChirico MichaelChirico added the top request One of our most-requested issues label Apr 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request fread top request One of our most-requested issues
Projects
None yet
Development

No branches or pull requests

6 participants