[datatable-help] aggregation error under 1.5.3

Johann Hibschman jhibschman+r at gmail.com
Tue Apr 12 21:35:19 CEST 2011


I finally managed to upgrade to 1.5.3, but now I'm seeing errors when
aggregating data tables:

  > d <- data.table(a=as.integer(c(1, 1, 2, 2, 3, 3)), b=1:6 %% 2, c=1:6)
  > d[b==1,list(c=sum(c)),by=list(a)]
  Error in i[1, ivars, with = FALSE] : incorrect number of dimensions

Does anyone know what's going on with this?

Thanks,
Johann



More information about the datatable-help mailing list