Jay, Duncan,

Thank you for your replies.

The confusing part for me is that vector allows large indices, while array does not allow.

Also, is there an estimate when R would support long arrays?

Thanks,
Boris

From: Jay Emerson [mailto:jayemerson@gmail.com]
Sent: Monday, January 06, 2014 4:37 AM
To: r-devel@r-project.org; Boris Aronshtam
Subject: re: [Rd] Support for long arrays


You could look at some extension packages, bigmemory for example.  A recent paper http://www.jstatsoft.org/v55/i14 (though for more developer-level capabilities you would need to look at the package itself).  Although the big.matrix objects can't be used seamlessly as if they were matrices, they do help get over some hurdles.  Other packages include bigalgebra may be helpful.

Jay


> I am trying to create a large array using:
>
> d = c(1e+10,2)
> a=array(0,d)
>
> This results in the error:

--
John W. Emerson (Jay)
Associate Professor of Statistics, Adjunct, and Director of Graduate Studies
Department of Statistics
Yale University
http://www.stat.yale.edu/~jay

	[[alternative HTML version deleted]]

