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

Error in order #696

Closed
my-R-help opened this issue Jun 15, 2014 · 0 comments
Closed

Error in order #696

my-R-help opened this issue Jun 15, 2014 · 0 comments
Assignees
Labels
Milestone

Comments

@my-R-help
Copy link

The order function in data.table (or forder according to the error message) doesn't work as expected. Replacing it with base::order works though:

DT <- data.table(a = 1:4, b = 8:5)
for (i in c("a", "b"))
  print(DT[order(DT[, i, with = FALSE])])

This gives the following error in the current data.table development version (1.9.3):

Error in forder(DT, DT[, i, with = FALSE]) :
  Column '1' is type 'list' which is not supported for ordering currently.
@arunsrinivasan arunsrinivasan self-assigned this Jun 15, 2014
@arunsrinivasan arunsrinivasan added this to the v1.9.4 milestone Jun 19, 2014
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

2 participants