Preface

This resource is an introduction to the R programming language. It can be used as standalone learning tool, or as part of training sessions.

It takes you through from the first steps of opening RStudio through using it for visualisations such as graphs and maps - basically an introduction to using R for simple but effective data management, manipulation, calculations, and visualisation.

It does however work on the assumption that R and R Studio are already installed.

The format of the training is as follows:

  • Text describing what we will be doing

  • Code showing what needs typing in:

  • Activities for you to do to put your learning to the test
Activity A0.1: Write a line of code that prints the string “Hello world”


  • Little tips to make writing code easier
Tip:
R is great tool