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