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
I find it odd that the following don't give the same output:
DT = data.table(a = 1:3, b = 4:6)
DT[ , .(a, b = b + 1)]
# a b
# 1: 1 5
# 2: 2 6
# 3: 3 7
DT[ , {
b = b
.(a, b = b + 1)
}]
# V1 b <- Why is a auto-inferred above, but not here?
# 1: 1 5
# 2: 2 6
# 3: 3 7
The text was updated successfully, but these errors were encountered:
I find it odd that the following don't give the same output:
The text was updated successfully, but these errors were encountered: