I am running R 3.3.3 and getting the following error:

  Error in add_edges(res, edges = t(as.matrix(el[, 1:2])), attr = weight) : 
    long vectors not supported yet: ../../src/include/Rinlinedfuns.h:138

when passing a 13 GB TransitionLayer object to shortestPath from the
package 'gdistance'.

The error, albeit in a different context, is discussed here:


However it is not clear to me quite what the fix was and what kind of
limit may still exist in subsequent R versions.

Is this a general problem/issue with R, or is this something more
package-specific which should be addressed on R-sig-Geo?



Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universit├Ąt Berlin         Email loris.benn...@fu-berlin.de

R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to