1 Working with R

There are many ways of working with R. This guide focusses on a fairly specific setup and workflow, and assumes you will use the RStudio editor, use R markdown documents to document and share your analyses, and install a number of recent packages, including the ‘tidyverse’, which give working with R a shallower learning curve, and let you get powerful things done quickly.