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 27 Oct. 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

SGB  
Simplicial Generalized Beta Regression
Main properties and regression procedures using a generalization of the Dirichlet distribution calle ...
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  
exams2learnr  
Interface for 'exams' Exercises in 'learnr' Tutorials
Automatic generation of quizzes or individual questions for 'learnr' tutorials based on 'R/exams' ex ...
Download / Learn more Package Citations See dependency  
spanish  
Translate Quantities from Strings to Integer and Back. Misc Functions on Spanish Data
Character vector to numerical translation in Euros from Spanish spelled monetary quantities. Reverse ...
Download / Learn more Package Citations See dependency  
usemodels  
Boilerplate Code for 'Tidymodels' Analyses
Code snippets to fit models using the tidymodels framework can be easily created for a given data se ...
Download / Learn more Package Citations See dependency  

29,218

R Packages

247,686

Dependencies

77,281

Author Associations

29,219

Publication Badges

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