You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Submitted by: Eduard Antonyan; Assigned to: Nobody; R-Forge link
A bunch of specific things have to happen for this bug - when the by expression includes a column, that column disappears in the j-expression if.SD is also used in the j-expression:
require(data.table)
dt= data.table(a=1, b=1)
dt[, data.table(a, .SD), by= cumsum(a)]
# Error in data.table(a, .SD) : object 'a' not found
Submitted by: Eduard Antonyan; Assigned to: Nobody; R-Forge link
A bunch of specific things have to happen for this bug - when the
by
expression includes a column, that column disappears in thej
-expression if.SD
is also used in thej
-expression:Expressions that work:
The text was updated successfully, but these errors were encountered: