Introduction to RStudio

June 2024

R is a programming language that is very useful for statistical analysis and data visualisation. The easiest way to use R is to download an integrated development environment (or IDE), called RStudio, which can be downloaded here: https://posit.co/products/open-source/rstudio/.

The main reason why RStudio is useful is because you can run code line-by-line, which makes it easier to understand what each line is doing. This helps pinpoint where any errors in the code might originate from.

1. Using RStudio

RStudio has four panes that each display different information. The image below shows how these four panes look while processing and visualising some PL data: