[R] Is it possible to only read a subset by read.table ?

David Vonka D.Vonka at UvT.nl
Wed Jul 12 14:37:16 CEST 2006


is it possible to do something like

DATA <- read.table(file="blabla.dat",subset=(sex=="male")),

i.e. make R read only a subset of a csv file ?
I think it would be useful in case of very big datasets,
but I can't find such a feature.

Thanks for an answer,
David Vonka

More information about the R-help mailing list