With data.table 1.8.0:
> CJ(x=c(1,2), y=c("a","b"))
*     V1 V2*
[1,]  1  a
[2,]  1  b
[3,]  2  a
[4,]  2  b

With data.table 1.7.1:
> CJ(x=c(1,2), y=c("a","b"))
*     x y*
[1,] 1 a
[2,] 1 b
[3,] 2 a
[4,] 2 b

I looked through the NEWS file and this doesn't seem to be announced. Can
this be fixed? I have code that relies on the column names being present.

Thanks!
-Muhammad
_______________________________________________
datatable-help mailing list
[email protected]
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help

Reply via email to