Skip to content

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

Description

@jangorecki

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

Activity

  1. added this to the v1.9.8 milestone on Jul 1, 2016
  2. added a commit that references this issue on Aug 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions