Data.table: [R-Forge #4724] add quote = argument to fread

Created on 8 Jun 2014  Â·  10Comments  Â·  Source: Rdatatable/data.table

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

feature request fread

All 10 comments

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

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

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

+1
PS. filled #1109

Closed the wrong issue.. argghhhh

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

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

"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?

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" [email protected]
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
https://github.com/Rdatatable/data.table/issues/568#issuecomment-251678592,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHQQdWq865TU0X8h0_AyTJH7MrhOWjRjks5qw6nIgaJpZM4CCMvo
.

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

Was this page helpful?
0 / 5 - 0 ratings