This post describes the software we'll use during the workshop. The most convenient option is to install R and RStudio on your laptop, along with the packages described below. You should also be able to use an RStudio Cloud workspace in your browser, however.
Running R and RStudio on your Laptop
- If you are running the software locally on your laptop, begin by installing R (http://cloud.r-project.org) and RStudio (http://rstudio.com).
- Once the applications are installed, launch RStudio. Either type or copy and paste the following lines of code at R’s command prompt, located in the RStudio window named “Console”, and then hit return. In the code below, the <- arrow is made up of two keystrokes, first < and then the short dash or minus symbol, -.
my_packages <- c("tidyverse", "broom", "coefplot", "cowplot",
"drat", "gapminder", "GGally", "ggrepel",
"ggridges", "graphlayouts", "gridExtra",
"here", "interplot", "margins", "maps", "mapproj",
"mapdata", "MASS", "naniar", "prismatic",
"quantreg", "socviz", "survey", "srvyr",
"viridis", "viridisLite", "devtools",
"ggforce", "ggraph", "sf")
install.packages(my_packages, repos = "http://cran.rstudio.com")
If you do not have one already, it will be useful to create a GitHub account and obtain a GitHub Personal Access Token. Read and carefully follow the instructions in Parts I and II of Happy Git With R, and then also the instructions in Appendix B of the same document.