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

fix sort for data.table #18

Open
setempler opened this issue Mar 2, 2017 · 0 comments
Open

fix sort for data.table #18

setempler opened this issue Mar 2, 2017 · 0 comments
Assignees
Labels
Milestone

Comments

@setempler
Copy link
Owner

This works:

sort(data.frame(a=3:1))

But this doesn't:

sort(data.table(a=3:1))
# Error in `[.data.table`(x, , by, drop = F) : 
#  j (the 2nd argument inside [...]) is a single symbol but column name 'by' is not found. Perhaps you intended DT[,..by] or DT[,by,with=FALSE]. This difference to data.frame is deliberate and explained in FAQ 1.1.
@setempler setempler added the bug label Mar 2, 2017
@setempler setempler self-assigned this Mar 2, 2017
@setempler setempler added this to the release 1.2.0 milestone Mar 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant