Introduction to R

22nd - 23rd October 2026

Module overview

This module introduces the use of R, a free programming language originally developed for statistical data analysis. In this course, we will use R through R Studio, a user-friendly interface. Students will learn:

  • Ways of reading data into R
  • How to manipulate data in major data types
  • How to draw basic graphs and figures with R
  • How to summarise data using descriptive statistics
  • How to perform basic inferential statistics

This module is suitable for students who have no prior experience in programming, but participants will be assumed to have a good working knowledge of basic statistical techniques.

For an online example of how R can be used: https://www.ssc.wisc.edu/sscc/pubs/RFR/RFR_Introduction.html”’

Prerequisites

  • A good working knowledge of descriptive statistics (e.g., the mean and standard deviation).
  • Students who are not familiar with basic statistical techniques are advised to take modules from the CaRM’s Basic Statistics stream, up to at least the level of BQA, and preferably the level of DMA.

Reading

  • Lander, J. (2014). R for everyone: Advanced analytics and graphics. Upper Saddle River, NJ: Addison-Wesley.
  • Matloff, N. (2011). The art of R programming: A tour of statistical software design.
  • Field, A., Miles, J., & Field, Z. (2012). Discovering statistics using R. London: Sage Publications.

Assessment

There may be an online open-book test at the end of the module; for most students, the test is not compulsory.

Frequency

This module runs twice each year – once in Michaelmas Term, and once in Lent.

How to Book

Cambridge University postgraduate students and staff can book directly onto this module using the booking link provided. Please check that you are eligible before you make a booking. As soon as you book, you will receive an automated email confirming your place.

External participants and postgraduate students from Anglia Ruskin University should complete the Booking Request Form which you can find on the External Participants page.

Please note, some modules are repeated so you might have a choice of when to take module, in either Michaelmas or Lent Term.

 

Sessions

DateTimeTeaching FormatInstructor
Thu 22 Oct 202613:00-17:00In person venueYiqiong Yang
Fri 23 Oct 202613:00-17:00Online CaRM ZoomYiqiong Yang