Week 1: Introduction and getting started with R

Agenda

  • Welcome and introductions
  • About the course; about R
  • Installing R, RStudio, and Quarto
  • Lab 1 (complete and submit on Moodle by end of class)

Slides

Link to fullscreen

Installing required software

Software to install

  • R (free and open source)
  • RStudio IDE (free commercial software)
  • Quarto (free commercial software): “literate programming”

Step-by-step

  1. Go to https://cran.rstudio.com and download the latest version of R
  2. Go to RStudio Desktop download page and download RStudio Desktop
  3. Go to Quarto Getting Started and download Quarto

One more thing

  • For labs, we will use Quarto to render code and outputs into pdf documents.
  • This has one more prerequisite
    1. In RStudio, in the bottom-left pane, switch from the “Console” to the “Terminal” tab.
    2. Type in and run this command: quarto install tinytex

Additional resources