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
library(data.table)
dt<- data.table(a=0)
dt[, do.call(`:=`, list(b=1,c=2))]
#> Error in (function (...) : Check that is.data.table(DT) == TRUE. Otherwise, := and `:=`(...) are defined for use in j, once only and in particular ways. See help(":=").
A request for this to work seen in the wild: https://stackoverflow.com/questions/66917673/set-multiple-columns-in-r-data-table-with-a-named-list-and
Created on 2021-04-02 by the reprex package (v1.0.0)
The text was updated successfully, but these errors were encountered: