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

From: François Pinard <pinard_at_iro.umontreal.ca>
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   http://pinard.progiciels-bpi.ca

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
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