All,
I love data.table and I also love magrittr. However, some things don't
work, e.g.
DT <- data.table(a = 1:3, b = 4:6)
DT[, a %<>% `*`(2)] # instead of DT[, a := a %>% `*`(2)]
Is there some way to make it work or am I missing something? I
understand it's because how data.table is essentially a DSL and parses
things in its own ways. Is there a workaround or should I post a feature
request?
Thanks,
M
_______________________________________________
datatable-help mailing list
[email protected]
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help