Skip to content
Prev 1733 / 2152 Next

Rmpi long vector support

Jim,
On Aug 7, 2013, at 11:59 AM, Jim Gattiker <j.gattiker at gmail.com> wrote:

            
that is not true. R supports vectors up to 2^52 elements. That is way beyond current RAM sizes and certainly more than 2^31:
[1] 2.4e+10
[1] 34.48232

However Rmpi does not. You have to use XLENGTH and R_xlen_t in the C code if you want to go beyond 2^31.

Cheers,
Simon