search for: gdistance

Displaying 7 results from an estimated 7 matches for "gdistance".

Did you mean: distance
2018 Feb 06
1
gdistance::shortestPath throws error "not a symmetric matrix"
Hi, Calling gdistance::shortestPath gives me the error Error in asMethod(object) : not a symmetric matrix; consider forceSymmetric() or symmpart() The output of dput(.traceback()) is pairlist("stop(\"not a symmetric matrix; consider forceSymmetric() or symmpart()\")", "asMethod(ob...
2018 Feb 14
2
long vectors not supported yet
Hi, 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: https://github.com/tidyverse/readr/issues/309 https://github.com/tidyverse/readr/pull/433 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 genera...
2018 Feb 14
0
long vectors not supported yet
...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: > > https://github.com/tidyverse/readr/issues/309 > https://github.com/tidyverse/readr/pull/433 > >However it is not clear to me quite what the fix was and what kind of >limit may still exist in subseque...
2018 Feb 15
1
long vectors not supported yet
...rror: >> >> 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: >> >> https://github.com/tidyverse/readr/issues/309 >> https://github.com/tidyverse/readr/pull/433 >> >> However it is not clear to me quite what the fix was and what kind of &g...
2011 Jul 14
1
calculating distance inland from coastline
Hi All, Does anybody know of any existing functions that will calculate distance inland from a coastline? It's possible to test if a lon,lat location is land or sea using map.where(), but I need to add a buffer to this of say 2km, to allow for points that are just on the coast, and below the resolution of the worldHires database. I'm working with a marine mammal satellite telemetry
2012 Feb 23
0
resistanceDistance representation
Dear all, i'm using gdistance to model animal movement across landscape. I have imported 11 rasters with roads, freeways, slope, use-of-land, lakes (...) after recoding them with GRASS with a HSI value ranging from 1 to 4. I've assigned zero to the NAs and then transformed all the rasters in TransitionLayers (function=mean,...
2012 May 20
1
CRAN (and crantastic) updates this week
CRAN (and crantastic) updates this week New packages ------------ * bisectr (0.0.2) Maintainer: Winston Chang Author(s): Winston Chang <winston at stdout.org> License: GPL-2 http://crantastic.org/packages/bisectr Tools to find bad commits with git bisect * CUMP (1.0) Maintainer: Xuan Liu Author(s): Xuan Liu <liuxuan at bu.edu> and Qiong Yang <qyang at bu.edu>