Advanced Programming in R

Date:

05/09/2023 - 08/09/2023

Organised by:

Royal Statistical Society

Presenter:

Dr Nicola Rennie (Jumping Rivers)

Level:

Advanced (specialised prior knowledge)

Contact:

training@rss.org.uk

Map:

View in Google Maps  (EC1Y 8LX)

Venue:

Online

Description:

Level: Professional (P)

This online training course covers R object-oriented programming (OOP) techniques. It will be delivered over 4 afternoons.The course will discuss what OOP is and the different varieties within R. Beginning with the popular S3 and S4 OOP frameworks, it finishes with the new {R6} package that is used extensively in Shiny applications. The course will then introduce the {rlang} package as a way of parsing variables from a data set into a function. We then cover {renv} and its uses in managing workflows, by isolating your project’s R dependencies and managing library paths!

Learning Outcomes

  • Select the most appropriate form of OOP for their task
  • Leverage encapsulation, polymorphism and inheritance to provide a nice user interface to code
  • Extend the functionality of functions for new object types
  • Use the {rlang} operators !!, !!! and := to pass variables
  • Modify user functions using enquo()
  • Parse and deparse expressions
  • Construct reproducible data analysis workflows with {renv}

Target Audience

This course assumes that participants are comfortable with the fundamentals of R programming. As such the course will be of interest to anyone who uses R, in particular those who want to develop their computer skills to cover more advanced topics. This course would be very useful for participants who do not have a formal background in programming.
 

Delegate Feedback

“I am not scared of R anymore. It was actually fun!”

“The balance between lectures and practicals was good”

“Very clear lectures and hand-outs”

Cost:

From £629.75 to £873.94 (including VAT)

Website and registration:

Region:

Greater London

Keywords:

Quantitative Data Handling and Data Analysis, R, Programming, OOP, S3, S4,

Related publications and presentations:

Quantitative Data Handling and Data Analysis
R

Back to archive...