Skip to Main Content
It looks like you're using Internet Explorer 11 or older. This website works best with modern browsers such as the latest versions of Chrome, Firefox, Safari, and Edge. If you continue with this browser, you may see unexpected results.
| University Libraries
See Updates and FAQs for the latest library services updates. Subject Librarians are available for online appointments, and Virtual Reference has extended hours.

Learn R

Resources to learn and use the Open Source Statistical software R (R-Project)

Start Here

See also R for Data Science: Exercise Solutions by Jeffrey B. Arnold

General Tutorials

General R Tutorials

  • RStudio Cloud Primers  - Videos and try-it-yourself examples from the very basics
  • Stat 545 - Course material on Data wrangling, exploration, and analysis with R [UBC]
    • Emphasizes workflow issues, including RMarkdown and Git. 
    • Starts with Data but also covers function writing, make, APIs and Shiny apps. 
  • swirl - Learn R and statistics using R itself. Only a few courses, some old/wordy.  
  • DataCamp - Interactive tutorials, some free like Introduction to R  and the YouTube channel

R for Social Scientists

R for the Humanities

R for Data Analytics

Other Online Books