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 25 Aug. 2026.
Previous versions and publish date:
(2026-07-09 07:41), 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

connectwidgets  
Organize and Curate Your Content Within 'Posit Connect'
A collection of helper functions and 'htmlwidgets' to help publishers curate content collections on ...
Download / Learn more Package Citations See dependency  
commonsMath  
JAR Files of the Apache Commons Mathematics Library
'Java' JAR files for the Apache Commons Mathematics Library for use by users and other packages. ...
Download / Learn more Package Citations See dependency  
hwep  
Hardy-Weinberg Equilibrium in Polyploids
Inference concerning equilibrium and random mating in autopolyploids. Methods are available to test ...
Download / Learn more Package Citations See dependency  
missDiag  
Comparing Observed and Imputed Values under MAR and MCAR
Implements the computation of discrepancy statistics summarizing differences between the density of ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  

28,332

R Packages

239,283

Dependencies

75,113

Author Associations

28,333

Publication Badges

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