Exercises to Accompany TeachingWithR Workshop

Exercises to Accompany TeachingWithR Workshop

Matthew Beckman & Justin Post June 25, 2021

Part 1. RStudio IDE Scavenger Hunt


1.1 RStudio GUI

Task: Search the menus in your RStudio IDE to locate where each of the following can be accomplished:

  1. Restart your R Session
  2. Create a new “R Markdown” file
  3. Install lubridate packages (with dependencies if needed)
  4. search the Help to learn about the “head” function
  5. What types of data sources can be imported using the RStudio GUI

1.2 Configuration Details Handy for Teaching

Task: Visit “RStudio >> Tools >> Global Options” and locate the following:

  1. Pane Layout
  2. “Rainbow parenthesis”
  3. “Show margin” (set to 80)
  4. “Highlight selected line”
  5. “Provide R style diagnostics (e.g., whitespace)”
  6. “Show whitespace characters”

Part 2. Import Data

We’ll see how to bring in data shortly…