Skip to content
Prev 8994 / 10988 Next

[Rcpp-devel] Overflow error when creating a large matrix

On Sat, Oct 31, 2015 at 3:08 PM, Alessandro Mammana <mammana at molgen.mpg.de>
wrote:
Can you post a reproducible example? I will look into it.
It should be the same (at least we want to make them same).
2. In a 64 bits machine, what is actually the maximum allowed length
The length limit is R_xlen_t, which is defined in [1]. For matrix, this
limit is for the number of all elements ( nrow * ncol).

Best wishes,

KK

[1] https://github.com/wch/r-source/blob/trunk/src/include/Rinternals.h#L68
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20151101/1f467776/attachment.html>
Message-ID: <CAJ_LAMB6Bpz12FJT75HDFYQqSHa3jZbYp3b7DOKv66K=gfeogw@mail.gmail.com>
In-Reply-To: <CA+RJ7GMvPu0W8B2+p+wTu4NJ5YhcGoNrXrLxpHpNedB_9DViSw@mail.gmail.com>