Skip to content

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

1 message · Qiang Kou

#
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>