Programming in R BIOL5344

  • Academic Session: 2023-24
  • School: School of Biodiversity One Health Vet Med
  • Credits: 20
  • Level: Level 5 (SCQF level 11)
  • Typically Offered: Semester 1
  • Available to Visiting Students: Yes

Short Description

This course will introduce students to the principles and practice of programming in the R language.


Lectures and tutorials in semester 1.

Requirements of Entry

Please refer to the current postgraduate prospectus 

Excluded Courses





Students will write submit annotated code and reports generated in R from small assignments during the module, reflecting participation and competencies learned in practical computer laboratories (50%). The remaining 50% will be based on an independent assignment studied during last day of class and completed after the module that will require integration of the evidence-based knowledge and skills learned, involving direct application of programming skills obtained.

Are reassessment opportunities available for all summative assessments? No

Reassessments are normally available for all courses, except those which contribute to the Honours classification. For non Honours courses, students are offered reassessment in all or any of the components of assessment if the satisfactory (threshold) grade for the overall course is not achieved at the first attempt. This is normally grade D3 for undergraduate students and grade C3 for postgraduate students. Exceptionally it may not be possible to offer reassessment of some coursework items, in which case the mark achieved at the first attempt will be counted towards the final course grade. Any such exceptions for this course are described below. 


Practicals cannot be reassessed.

Course Aims

The aim of this course is to provide hands-on training in programming in the R environment, and teach students to use the data structures appropriately to solve problems.

Intended Learning Outcomes of Course

With reference to the evidence base, by the end of this course students will be able to:

- Use appropriate data structures to retrieve and store information in R

- Select and justify the appropriate loops and program structures in R when solving a problem

- Use comments appropriately to explain program structure and design

- Write a document functions in R to carry out specific procedures

- Design simple computer programs to solve specified problems

- Write programs in R

- Generate reports in R where code is run and the output is discussed

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.