R) DT=data.table(x=c(1,2),y=c(1,2),z=c(1,2),key='x,y,z') R) DT x y z 1: 1 1 1 2: 2 2 2 R) key(DT) [1] "x" "y" "z" R) key(DT[,list(x,y)]) NULL
Can't find this as a feature request, should I fill ? -- View this message in context: http://r.789695.n4.nabble.com/data-table-mot-retaining-keys-tp4670027.html Sent from the datatable-help mailing list archive at Nabble.com. _______________________________________________ datatable-help mailing list [email protected] https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help
