R Intro (Fall 2022)

R is an open-source programming language for statistical computing and graphics. R is extensible, and has a large collection of high-quality user contributed packages that provides easy tools for common data analysis tasks. This 4-session workshop will introduce you the fundamentals of R programming.


What To Prepare

Please install R and RStudio Desktop before the first session.

If you encounter technical difficulties installing the software, you can instead create a free RStudio Cloud account so you can run R in the cloud via your browser.

An alternative to RStudio Cloud is the UofT JupyterHub/RStudio system. Go to its home page, choose the RStudio option, and click Log in to start. You will need your UTORid to login.


Session 1, 2 & 3

  • Slides
  • Code
    • weighted dice (We will code this one together.)
    • R basic data structures (R Notebook )
    • R basic programming structures (R Notebook )
  • Reading list

Session 4

  • Slides
  • Code
    • Linear Regression - Base R (R Notebook )
    • Linear Regression - Tidyverse & Others (R Notebook )
  • Reading list

Resources


Back to TDMDAL Computing Page