Software installations


Workshop participants should have a working laptop with R installed. RStudio is strongly suggested.

R is available for the common computer operating systems: Mac, Linux, or Windows

For this workshop, you will need both R (>= R 4.3.0) and Rstudio:

R can be downloaded at https://www.r-project.org/

Rstudio Desktop can be downloaded at https://posit.co/download/rstudio-desktop/

Installing R packages:

Most of the packages that we will use for this workshop are available from the Comprehensive R Archive Network (CRAN), so you can use the following line of code to install and run them:

install.packages("packageName") e.g., install.packages("phyloregion")
Alternatively, you can install the development versions hosted on GitHub, which are usually more updated than the version on CRAN. To do this, you will need to install the devtools package. In R, type:
if (!requireNamespace("devtools", quietly = TRUE)) 
    install.packages("devtools")

devtools::install_github("darunabas/packageName") e.g., devtools::install_github("darunabas/phyloregion")
You can download the whole workshop website and lessons from here.

In the meantime, please install the following packages:


install.packages("phyloregion")
install.packages("terra")
install.packages("ape")
install.packages("phytools") 
install.packages("phangorn") 
install.packages("tidyverse") 
install.packages("devtools")
install.packages("pkgdown")
install.packages("knitr")
install.packages("rmarkdown")
install.packages("data.table")
devtools::install_github(repo="nmatzke/BioGeoBEARS")
    

If you choose not to use RStudio, a text editor that can edit plain text and Markdown files is also necessary. BBEdit or TextEdit are fine.