Skip to content

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

Description

@mattdowle

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

Activity

  1. jrowen commented on Nov 3, 2015

    @jrowen

    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.

  2. added this to the milestone on Mar 6, 2016
  3. karlrohe commented on Sep 9, 2016

    @karlrohe

    This would be great!

  4. MichaelChirico commented on May 29, 2017

    @MichaelChirico
    Member

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

  5. removed this from the milestone on May 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions