[R] trouble reading large data.frame

Corey Moffet cmoffet at nwrc.ars.usda.gov
Mon Jul 8 18:06:21 CEST 2002


I am having trouble reading in a large (92 columns x 73050 rows = 6720600
cells) data file into a data.frame using read.table because of the way
read.table allocates memory.

I can use scan with nmax = 6720600 and the data will fit into memory, but I
would like to create a data.frame from the data.

What is the best way to do this?  Is there something equivalent to nmax in
read.table?
With best wishes and kind regards I am

Sincerely,

Corey A. Moffet
Support Scientist

University of Idaho
Northwest Watershed Research Center
800 Park Blvd, Plaza IV, Suite 105
Boise, ID 83712-7716
(208) 422-0718
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list