Cannot allocate vector of length 2.14GB?

Hello all,

According to R Documentation about Memory Limits in R (link: " There are also limits on individual objects. The storage space cannot exceed the address limit, and if you try to exceed that limit, the error message begins cannot allocate vector of length. The number of bytes in a character string is limited to 2^31 - 1 ~ 210^9* , which is also the limit on each dimension of an array."

I currently work on the rgeopat2 package, using the gpat_read_distmtx() function, and it creates an object that has a longer length than the mentioned number above. So, that error message "cannot allocate vector of length 2.14GB" appears.

Is there any way to overcome that error?


This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.