[R] reading in a subset of a large data set

From: Stacey Burrows <stacey.burrows_at_yahoo.ca>
Date: Fri, 11 Jul 2008 09:25:26 -0700 (PDT)

I have a huge dataset for which I only want to read in a subset of it. Is it possible to use read.table to read in only a subset of the data? For example, something like read.table('~/data.txt', subset = chromosome=='1' )

If not, then why not? This seems to be a feature available in all other statistical software.


[[elided Yahoo spam]]

        [[alternative HTML version deleted]]

R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Fri 11 Jul 2008 - 16:32:59 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 11 Jul 2008 - 18:31:16 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive