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

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

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

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

arunsrinivasan opened this issue Jun 8, 2014 · 2 comments
Assignees
Milestone

Comments

@arunsrinivasan
Copy link
Member

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
Copy link
Member

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

@jangorecki
Copy link
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.

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

No branches or pull requests

3 participants