Skip to content
Prev 326754 / 398502 Next

What is the maximum limit for an array?

Jonsson <amen.alyaari <at> Bordeaux.inra.fr> writes:
From

http://stat.ethz.ch/R-manual/R-devel/library/base/html/LongVectors.html :

Prior to R 3.0.0, all vectors in R were restricted to at most 2^31 - 1
[1] 2177280000
[1] 2147483647

  So you need R>=3.0.0 (on a 64-bit system).

 Ben Bolker