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

2008-07-11 Thread Bert Gunter
uly 11, 2008 9:58 AM To: [EMAIL PROTECTED] Cc: r-help@r-project.org Subject: Re: [R] reading in a subset of a large data set If the data you want is contiguous, then just 'skip' the number of records and then read the number you want. If you want to select a random sample, then che

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

2008-07-11 Thread jim holtman
If the data you want is contiguous, then just 'skip' the number of records and then read the number you want. If you want to select a random sample, then checkout http://article.gmane.org/gmane.comp.lang.r.general/78318/match=random+read In your case where you want to conditionally read based on

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

2008-07-11 Thread Stacey Burrows
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 s