[R] R tools for large files

Ko-Kang Kevin Wang kwan022 at stat.auckland.ac.nz
Mon Aug 25 06:18:13 CEST 2003


Have you looked at "R Data Import/Export"?

On Mon, 25 Aug 2003, Murray Jorgensen wrote:

> Date: Mon, 25 Aug 2003 16:04:17 +1200
> From: Murray Jorgensen <maj at stats.waikato.ac.nz>
> Reply-To: maj at waikato.ac.nz
> To: R-help <r-help at stat.math.ethz.ch>
> Subject: [R] R tools for large files
> I'm wondering if anyone has written some functions or code for handling 
> very large files in R. I am working with a data file that is 41 
> variables times who knows how many observations making up 27MB altogether.
> The sort of thing that I am thinking of having R do is
> - count the number of lines in a file
> - form a data frame by selecting all cases whose line numbers are in a 
> supplied vector (which could be used to extract random subfiles of 
> particular sizes)
> Does anyone know of a package that might be useful for this?
> Murray



"On two occasions, I have been asked [by members of Parliament],
'Pray, Mr. Babbage, if you put into the machine wrong figures, will
the right answers come out?' I am not able to rightly apprehend the
kind of confusion of ideas that could provoke such a question."

-- Charles Babbage (1791-1871) 
---- From Computer Stupidities: http://rinkworks.com/stupid/

Ko-Kang Kevin Wang
Master of Science (MSc) Student
SLC Tutor and Lab Demonstrator
Department of Statistics
University of Auckland
New Zealand
Homepage: http://www.stat.auckland.ac.nz/~kwan022
Ph: 373-7599
    x88475 (City)
    x88480 (Tamaki)

More information about the R-help mailing list