[R] data.frame subsetting

Dirk Repsilber dirk.repsilber at gmx.de
Thu Jul 24 16:27:28 CEST 2003


Hi,

is there advice how to subset a data.frame, where until R version 1.7.0 
it was possible to write

 > data[["subset"]]

which meant the same as

 > data$subset

(data is a data.frame). From 1.7.1 on this does not seem to work longer. 
Could there be a bug in downwards compatibility?

sincerely yours

Dirk




More information about the R-help mailing list