Please note: there may be some adjustments to the teaching arrangements published in the course catalogue for 2020-21. Given current circumstances related to the Covid-19 pandemic it is anticipated that some usual arrangements for teaching on campus will be modified to ensure the safety and wellbeing of students and staff on campus; further adjustments may also be necessary, or beneficial, during the course of the academic year as national requirements relating to management of the pandemic are revised.

Statistics 3R: Introduction to R Programming STATS3017

  • Academic Session: 2021-22
  • School: School of Mathematics and Statistics
  • Credits: 10
  • Level: Level 3 (SCQF level 9)
  • Typically Offered: Semester 1
  • Available to Visiting Students: No
  • Available to Erasmus Students: No

Short Description

The course introduces students to programming in the statistical software environment R.


10 2-hour practicals, and 10 hours of lectures.

Requirements of Entry

The normal requirement is that students should have been admitted to the third year of the Designated Degree programme in Statistics.

Excluded Courses

Introduction to R Programming [STATS4044]

Introduction to R Programming (Level M) [STATS5020]


The courses prescribed in the Designated Degree programme to which the student has been admitted.


Programming Tasks (100%) consisting of in-lab and homework assessments.

Course Aims

To introduce students to the basic concepts and ideas of a statistical computing environment; to introduce  students to programming tools using the R computing environment; to provide computational skills which will support other Level 3 courses; and to introduce students to simple concepts in (scientific) programming in general.

Intended Learning Outcomes of Course

By the end of this course students will be able to:

■ recognise and make appropriate use of different types of data structures;

■ use R to create figures and graphs;

■ identify and implement appropriate control structures to solve simple programming tasks and design and write short functions in R.

Minimum Requirement for Award of Credits

Students must submit at least 75% by weight of the components (including examinations) of the course's summative assessment.