[datatable-help] integer64 group by doesn't find all groups

Yike Lu yikelu.home at gmail.com
Fri Feb 7 00:38:49 CET 2014


After a long hiatus, I am back to using data.table. Unfortunately, I've
encountered a problem. Am I doing something wrong here?

require(data.table)

dt = data.table(idx = 1:100 %% 3, 1:100)
dt[, list(sum(V2)), by = idx]
# normal

require(bit64)

dt2 = data.table(idx = integer64(100) + 1:100 %% 3, 1:100)
dt2[, list(sum(V2)), by = idx]
# only has one group:
#   idx   V1
#1:   1 5050
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/datatable-help/attachments/20140206/d69c699b/attachment.html>


More information about the datatable-help mailing list