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
{{ message }}
Repository navigation
"Can't assign to the same column twice in the same query" message unhelpful, and inconsistent #2967
DT = data.table(a = 1:5)
DT[ , c('b', 'b') := 10]
# Error in `[.data.table`(DT, , `:=`(c("b", "b"), 10)) :
# Can't assign to the same column twice in the same query (duplicates detected).
In more dynamic situations, this error is rather unhelpful.
changed the title [-]"Can't assign to the same column twice in the same query" message unhelpful[/-][+]"Can't assign to the same column twice in the same query" message unhelpful, and inconsistent[/+]on Jul 6, 2018
Activity
[-]"Can't assign to the same column twice in the same query" message unhelpful[/-][+]"Can't assign to the same column twice in the same query" message unhelpful, and inconsistent[/+]