Skip to content

[R-Forge #4724] add quote = argument to fread #568

Closed

Description

@arunsrinivasan

Submitted by: Ben Marwick; Assigned to: Nobody; R-Forge link

I love fread for its speed, but I have some huge CSV files that are poorly formed and can't load into R without something like:

read.csv("my.csv", row.names = NULL, comment.char = "", header = TRUE,
stringsAsFactors = FALSE, colClasses= "character", encoding="utf-8",
quote = "")

I can't see an equivalent for fread except a note in the doc that says it's a known issue and not yet implemented.

I eagerly await the day of the implementation of quote handling!

thanks for all your amazing work on this package,

Ben

Activity

  1. DavidArenburg commented on Jul 29, 2014

    @DavidArenburg
    Member

    It would save me so much time if this would be ever implemented

  2. stevencb commented on Nov 18, 2014

    @stevencb

    I would also like to see this feature. Thanks in advance.

  3. MathiasVersichele commented on Dec 9, 2014

    @MathiasVersichele

    Seconding this request. Working with intermediary data frames really isn't an optimal solution...

  4. jangorecki commented on Apr 8, 2015

    @jangorecki
    Member

    +1
    PS. filled #1109

  5. arunsrinivasan commented on Aug 25, 2015

    @arunsrinivasan
    MemberAuthor

    Closed the wrong issue.. argghhhh

  6. weetecklee commented on Sep 1, 2015

    @weetecklee

    yes, would certainly like to see quote handling in fread. it will surely help a great deal! thanks.

  7. added a commit that references this issue on Sep 8, 2015
  8. arunsrinivasan commented on Sep 8, 2015

    @arunsrinivasan
    MemberAuthor

    Thanks for the report. More robust handling of quotes now in devel. Please upgrade and test.

  9. AbhishekSinghVerma commented on Oct 5, 2016

    @AbhishekSinghVerma

    "quote" in still missing data.table vignette under fread command cran.r-project.org/web/packages/data.table/data.table.pdf or in git rdocumentation.org/packages/data.table/versions/1.9.6/topics‌​/…? Is this enhancement slated for 1.9.7 or am I missing something?

  10. MichaelChirico commented on Oct 5, 2016

    @MichaelChirico
    Member

    1.9.7 is the development version under current release, and yes quote is
    absent from 1.9.6. there are instructions for installing 1.9.7 on the wiki

    On Oct 5, 2016 9:44 AM, "AbhishekSinghVerma" notifications@github.com
    wrote:

    "quote" in still missing data.table vignette under fread command
    cran.r-project.org/web/packages/data.table/data.table.pdf or in git
    rdocumentation.org/packages/data.table/versions/1.9.6/topics‌​/…? Is this
    enhancement slated for 1.9.7 or am I missing something?

    —
    You are receiving this because you are subscribed to this thread.
    Reply to this email directly, view it on GitHub
    #568 (comment),
    or mute the thread
    https://github.com/notifications/unsubscribe-auth/AHQQdWq865TU0X8h0_AyTJH7MrhOWjRjks5qw6nIgaJpZM4CCMvo
    .

  11. jangorecki commented on Oct 5, 2016

    @jangorecki
    Member

    @AbhishekSinghVerma you can find pretty up to date 1.9.7 fread manual here.

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