Improve Your R Code

Improve Your R Code#

Overview#

Improve Your R Code is a hands-on workshop designed for learners who already have some familiarity with R and want to take their skills to the next level. This course focuses on improving coding style, efficiency, and best practices in R.

Course Objectives#

By the end of this course, you will:

  • Write clean, readable, and maintainable R code by following the tidyverse style guide.

  • Use benchmarking tools like microbenchmark to assess code performance.

  • Optimise code execution using techniques such as vectorisation and parallel processing.

  • Make use of packages such as data.table, parallel, parallelly, and Rcpp to write faster R programs.

  • Understand and apply reproducible and stylistic practices using tools like styler.

Pre-requisite Knowlede#

This workshop is designed for learners who:

  • Have prior experience working with R and R scripts.

  • Are familiar with basic R syntax and using functions.

  • Have used R interactively in environments like RStudio or Jupyter.

If you are not comfortable with some of these topics then you may wish to attend some of our other R programming language courses.