From murdoch.duncan at gmail.com  Mon Jan  6 22:51:36 2014
From: murdoch.duncan at gmail.com (Duncan Murdoch)
Date: Mon, 06 Jan 2014 16:51:36 -0500
Subject: [Rd] Support for long arrays
In-Reply-To: <9D80368C6A00834189C1982FB64EFA3007EE9059@ORD2MBX07C.mex05.mlsrvr.com>
References: <CALbRwZY0tiV-wgBgyZxk9udm=icfb4wY4R9V69Mfya9nZnwAwg@mail.gmail.com>
	<9D80368C6A00834189C1982FB64EFA3007EE9059@ORD2MBX07C.mex05.mlsrvr.com>
Message-ID: <52CB2568.8070703@gmail.com>

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
>



[Rd] Support for long arrays
Duncan Murdoch