Introduction to R and the tidyverse

Due by 11:59 PM on Tuesday, September 2, 2025

Important

Before starting this exercise, make sure you complete everything at the lesson for this week, especially the Posit Primers.

Instructions

  1. Open the project either on your computer (follow these instructions to get started!) or in Posit.cloud

    • 01-exercise.zip: If you’re using R on your own computer, download this file, unzip it, and double click on the file named 01-exercise.Rproj
    • Posit.cloud project: Use this link if you’re using Posit.cloud in your browser
  2. Rename the Quarto file named your-name_exercise-1.qmd to something that matches your name and open it in RStudio.

  3. Complete the tasks given in the Quarto file. You can definitely copy, paste, and adapt from other code in the document—don’t try to write everything from scratch!

  4. When you’re all done, click on the “Render” button at the top of the editing window and create a Typst (pdf), PDF, or Word version of your document. Upload that file to iCollege. Do not upload a rendered HTML file (they don’t work on iCollege).

Tips

TipFile organization

You’ll be doing this same process for all your future exercises. Each exercise will involve a Quarto file.

You can either create individual projects for each assignment and mini-project (recommended!):

Individual folders for each project on macOS

 

Individual folders for each project on Windows

Or you can create a new RStudio Project directory for all your work (not recommended!):

One folder for everything on macOS

 

One folder for everything on Windows