[Rd] Support for long arrays

Duncan Murdoch murdoch.duncan at gmail.com
Mon Jan 6 22:51:36 CET 2014


On 14-01-06 4:12 PM, Boris Aronshtam wrote:
> Jay, Duncan,
>
> Thank you for your replies.
>
> The confusing part for me is that vector allows large indices, while array does not allow.

See section 12 of the R Internals manual for a discussion of the issues.

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

Not as far as I know.

Duncan Murdoch

>
> Thanks,
> Boris
>
> From: Jay Emerson [mailto:jayemerson at gmail.com]
> Sent: Monday, January 06, 2014 4:37 AM
> To: r-devel at 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]]
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>



More information about the R-devel mailing list