[datatable-help] Problem with CJ
    Matthew Dowle 
    mdowle at mdowle.plus.com
       
    Tue Dec  6 09:16:47 CET 2011
    
    
  
That's fixed in 1.7.5 (on cran).
Matthew
On Mon, 2011-12-05 at 18:52 -0800, Steven C. Bagley wrote:
> In data.table 1.7.4:
> 
> > CJ(c(3,1,2), 0:1)
>      V1 V2
> [1,]  3  0
> [2,]  3  1
> [3,]  1  0
> [4,]  1  1
> [5,]  2  0
> [6,]  2  1
> > CJ(0:1, c(3,1,2))
> Error in setkey(l) : logical error nrow(dt)!=length(order)
> 
> I'm confused.
> 
> --Steve
> _______________________________________________
> datatable-help mailing list
> datatable-help at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help
    
    
More information about the datatable-help
mailing list