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

the x. column prefixes in j not found when by=.EACHI #1761

Closed
jangorecki opened this issue Jul 1, 2016 · 0 comments
Closed

the x. column prefixes in j not found when by=.EACHI #1761

jangorecki opened this issue Jul 1, 2016 · 0 comments
Assignees
Labels
Milestone

Comments

@jangorecki
Copy link
Member

jangorecki commented Jul 1, 2016

A new feature to mention x columns explicitly by x.col was introduced with 620276b. Unfortunately it doesn't work when grouping by .EACHI.

library(data.table)
dt = data.table(a=1L)
dt[dt, .(xa=x.a, ia=i.a), on="a"]
#   xa ia
#1:  1  1
dt[dt, .(xa=x.a, ia=i.a), .EACHI, on="a"]
#Error in `[.data.table`(dt, dt, .(xa = x.a, ia = i.a), .EACHI, on = "a") :
#  object 'x.a' not found
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