[datatable-help] data.table mot retaining keys

statquant3 statquant at outlook.com
Fri Jun 21 11:07:09 CEST 2013


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.


More information about the datatable-help mailing list