A resource for self-guided learning
  • Home
  • Getting Started
  • Software Installs
  • Learning Resource List
  • Domain-Specific Series

Installation and Resources

  • The Unix Shell
    • Series Introduction
    • Installation and Resources
    • Introducing the Shell
    • The File System
    • Patterns, Filters, and Pipes
    • Variables and Loops
    • Bash Scripting

  • R Data Analysis and Visualization
    • Series Introduction
    • Installation and Resources
    • Introduction to R and RStudio
    • Starting with data
    • Manipulating, analyzing, and exporting data with tidyverse
    • Data visualization with ggplot2

On this page

  • Installing Software
  • Updating Software
  • Installing R packages
  • Data

Installation and Resources

For this series, we will need to make sure

  1. R and RStudio are installed or updated
  2. R packages are installed
  3. Lesson data are downloaded

Installing Software

  1. Install the following software
  • R
  • R Studio (Posit)

Updating Software

  1. When you open RStudio, check that your R version is 4.0.0 or later by looking at the bottom left the console.

Figure 1: R version in RStudio console.

  1. If your version is older than 4.0.0, that is 3.x.x or lower, then follow the instructions above to download and install the latest version of R for your operating system.

  2. To update RStudio, after opening, click Help, then select Check for Updates. Follow the instructions on the screen to install the new version if one is available.

Installing R packages

  1. Open RStudio and in the console type
install.packages(c("tidyverse", "hexbin","patchwork"))

Data

We will download these data during the sessions, but you can also download them now to make sure you have them.

https://doi.org/10.6084/m9.figshare.1314459

Series Introduction
Introduction to R and RStudio
Cookie Preferences