Advanced Programming in R

This course is not scheduled yet.

Please register interest to be notified when further course information is available.

Register Interest Now

Course Overview

Computational analysis using free, cross-platform scripting languages such as R is becoming an increasingly common part of many research areas. For a scientist, knowledge of advanced programming techniques can be extremely useful. Such skills are vital for writing fast, reliable, maintainable programs, and using defensive programming techniques can help to avoid the introduction of errors into code and reduce the amount of time spent finding and fixing these errors. Additionally, earning good practice in writing code can help to ensure that scripts published and/or shared with the community are robust and easy to maintain/develop.

This two-day course, delivered by experts in programming for data analysis, will teach participants advanced techniques in writing reliable, robust code in R. The material will provide the opportunity to gain experience and understanding of object-oriented programming, packaging your code for distribution, advanced approaches for data visualisation, unit testing, and debugging. Sessions will be driven by many practical exercises.

Course outline

The material will focus on:

  • Package development
  • Testing
  • Coding style & good practice
  • Object-oriented programming
  • Functional programming
  • Debugging
  • The tidyverse approach to handling data
  • Grammar of graphics approach to visualisation
  • Shiny for browser-based interactive visualisations


The course is aimed at those with experience of scripting, who want to learn more about writing robust and efficient code.

Further Information

The course is lead by University of Cambridge researchers, and is composed of both teaching and practical sessions. High quality resources will be shared with participants, who will receive an official Cambridge Data Insights Certificate of course completion. We encourage employers to sponsor their staff to attend, and offer group booking discounts.

Participants are required to bring their own laptop. All other course materials will be provided.


Dr Laurent Gatto

University of Cambridge

Dr Robert Stojnic



Course Fees

Advanced Programming in R (2 days): £750

Course fee includes refreshments and lunch on all days of the course.

Academic, group and early bird discounts available, for enquiries please get in touch [email protected]

If you would like to be informed when the course date is scheduled, please register your interest.

Register Interest Now