My machine has hundreds of GB of RAM.  Is there a way to create an array having more than 2 Billion (2^31) rows?

I am trying to create a large array using:

d = c(1e+10,2)
a=array(0,d)

This results in the error:

Error in array(0, d) : negative length vectors are not allowed
In addition: Warning message:
In array(0, d) : NAs introduced by coercion

Note that I can create a vector of the same large size:

v=c(1:2e+10)



	[[alternative HTML version deleted]]

