I am getting an error "allocMatrix: too many elements specified" when
I am trying to create large matrix or vector (about 1 billion elements).
How can I find out limits on allocMatrix? Can I increase them?
?"Memory-limits", and you cannot increase them unless you have a
system which has larger signed integers.
Thank you for pointing out this.
The problem is in array.c, where allocMatrix check for "if ((double)nrow
* (double)ncol > INT_MAX)". But why itn is used and not long int for
indexing? (max int is 2147483647, max long int is 9223372036854775807)
Thanks,
Vadim
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.