Re: [R] Suggestion for big files [was: Re: A comment about R:]

From: François Pinard <>
Date: Mon 09 Jan 2006 - 05:06:20 EST

[Brian Ripley]
>[François Pinard]
>>[Brian Ripley]

>>>One problem [...] is that R's I/O is not line-oriented but
>>>stream-oriented. So selecting lines is not particularly easy in R.

>>I understand that you mean random access to lines, instead of random
>>selection of lines.

>That was not my point. [...] Skipping lines you do not need will take
>longer than you might guess (based on some limited experience).

Thanks for telling (and also for the expression "reservoir sampling"). OK, then. All summarized, if I ever need this for bigger datasets, selection might better be done outside of R.

François Pinard

______________________________________________ mailing list
PLEASE do read the posting guide!
Received on Mon Jan 09 05:17:06 2006

This archive was generated by hypermail 2.1.8 : Mon 09 Jan 2006 - 06:11:44 EST