Distance logo

Distance Developers Guide

Set up R development environment

Jump down to:

R

Install:

Update PATH (optional):

Create shortcuts (optional):


Rtools

Install:


R packages

Install the following R packages using install.packages:

For example:

install.packages("devtools")
install.packages("roxygen2")
install.packages("testthat")

Install the following R packages for MRDS:

For example:

install.packages("optimx")
install.packages("Rsolnp")

Install the following R packages for DSM:

For example:

install.packages("ggplot2")
install.packages("statmod")
install.packages("tweedie")
install.packages("Distance")
install.packages("mrds")

Git for Windows

Install:


RStudio (optional)

Install:


Tinn-R Editor (optional)


packrat (optional)

Install:

if (!require("devtools")) install.packages("devtools")
devtools::install_github("rstudio/packrat")

gdata (optional)


ActiveState ActivePerl (optional)