[R] Importing Data

Andrew C. Ward andreww at cheque.uq.edu.au
Thu Jul 18 05:25:45 CEST 2002


Dear David,

If you have sufficient RAM you can increase the amount R uses by adding
the switch "--max-mem-size=1024M" to the command you use to start R
(change 1024 to whatever amount of RAM you have).

If you don't have lots of RAM, you may have to draw just a subset of data.
If you're developing or testing a model this will be okay, as long as you
choose
enough samples. Alternatively, you could reduce the number of variables and
cases. This could be a data-driven process, a subjective process, or maybe
some combination of both.

I try to avoid large data sets in R (and S-PLUS and Matlab for that matter)
and do some processing or reduction before I read it in. It sometimes may
be worth writing a C program, or whatever, if you're having lots of problems
getting and crunching the data in R.


Regards,

Andrew C. Ward

CAPE Centre,
The University of Queensland
Brisbane Qld 4072 Australia
andreww at cheque.uq.edu.au

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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