Other packages > Find by keyword >

gdistance  

Distances and Routes on Geographical Grids
View on CRAN: Click here


Download and install gdistance package within the R console
Install from CRAN:
install.packages("gdistance")

Install from Github:
library("remotes")
install_github("cran/gdistance")

Install by package version:
library("remotes")
install_version("gdistance", "1.6.5")



Attach the package and use:
library("gdistance")
Maintained by
Andrew Marx
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2011-01-09
Latest Update: 2025-09-03
Description:
Provides classes and functions to calculate various distance measures and routes in heterogeneous geographic spaces represented as grids. The package implements measures to model dispersal histories first presented by van Etten and Hijmans (2010) . Least-cost distances as well as more complex distances based on (constrained) random walks can be calculated. The distances implemented in the package are used in geographical genetics, accessibility indicators, and may also have applications in other fields of geospatial analysis.
How to cite:
Andrew Marx (2011). gdistance: Distances and Routes on Geographical Grids. R package version 1.6.5, https://cran.r-project.org/web/packages/gdistance. Accessed 05 Jun. 2026.
Previous versions and publish date:
1.1-1 (2011-01-09 14:59), 1.1-2 (2011-09-30 07:51), 1.1-3 (2012-05-25 08:19), 1.1-4 (2012-12-22 20:42), 1.1-5 (2014-02-18 22:16), 1.1-6 (2015-01-07 06:28), 1.1-7 (2015-03-11 16:13), 1.1-9 (2015-08-11 17:40), 1.2-1 (2017-02-26 19:56), 1.2-2 (2018-05-07 05:49), 1.3-0 (2020-02-19 01:20), 1.3-1 (2020-02-29 09:10), 1.3-6 (2020-06-29 14:38), 1.6.2 (2023-04-20 16:20), 1.6.4 (2023-06-19 23:20), 1.6 (2022-10-10 20:20)
Other packages that cited gdistance R package
View gdistance citation profile
Other R packages that gdistance depends, imports, suggests or enhances
Complete documentation for gdistance
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

msm  
Multi-State Markov and Hidden Markov Models in Continuous Time
Functions for fitting continuous-time Markov and hidden Markov multi-state models to longitudinal d ...
Download / Learn more Package Citations See dependency  
envirem  
Generation of ENVIREM Variables
Generation of bioclimatic rasters that are complementary to the typical 19 bioclim variables. ...
Download / Learn more Package Citations See dependency  
ibb  
R Wrapper for Istanbul Municipality Open Data Portal
Call wrappers for Istanbul Metropolitan Municipality's Open Data Portal (Turkish: Istanbul B ...
Download / Learn more Package Citations See dependency  
crossurr  
Cross-Fitting for Doubly Robust Evaluation of High-Dimensional Surrogate Markers
Doubly robust methods for evaluating surrogate markers as outlined in: Agniel D, Hejblum BP, Thiebau ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  

27,268

R Packages

233,548

Dependencies

72,590

Author Associations

27,205

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA