[R] Need advice on using R with large datasets

Peter Dalgaard p.dalgaard at biostat.ku.dk
Fri Apr 16 13:41:19 CEST 2004

Prof Brian Ripley <ripley at stats.ox.ac.uk> writes:

> At present we restrict vectors to 2^31-1 and as from 1.9.0 have many
> overflow checks in place.  It's not just Fortran code, BTW: integer
> indexing in C is pervasive in the R code, including in many add-on 
> packages.

Of course, to state the obvious, if were talking numeric variables:

> (2^31-1)*8
[1] 17179869176

I.e. 16GB, which is about the limit of what current machines have of
RAM, so we're not really in trouble for the next year or so...

   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907

More information about the R-help mailing list