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

[R-Forge #2548] Add "key" argument to fread() #590

Closed
arunsrinivasan opened this Issue Jun 8, 2014 · 2 comments

Comments

Projects
None yet
3 participants
@arunsrinivasan
Member

arunsrinivasan commented Jun 8, 2014

Submitted by: Matt Dowle; Assigned to: Nobody; R-Forge link

To make the syntax easier (also if the expected key columns aren't present it can return earlier before starting to read the data) :

http://stackoverflow.com/a/14952167/403310

@MichaelChirico

This comment has been minimized.

Show comment
Hide comment
@MichaelChirico

MichaelChirico May 18, 2015

Contributor

I want this! Paralelling data.table(...,key="key") should give cleaner code than setkey(fread(...),key)

Contributor

MichaelChirico commented May 18, 2015

I want this! Paralelling data.table(...,key="key") should give cleaner code than setkey(fread(...),key)

@jangorecki

This comment has been minimized.

Show comment
Hide comment
@jangorecki

jangorecki May 18, 2015

Member

@MichaelChirico If you use chaining you can also use fread(...)[, .SD,, "key"] which makes it a start point of chain for operations on sorted data.

Member

jangorecki commented May 18, 2015

@MichaelChirico If you use chaining you can also use fread(...)[, .SD,, "key"] which makes it a start point of chain for operations on sorted data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment