Installing RStudio

RStudio is a free application that provides a user-friendly interface for R.

  1. Go to https://posit.co/download/rstudio-desktop/
  2. Click “Download RStudio Desktop” — the website will detect your operating system
  3. Open the downloaded file and follow the installer prompts
  4. On Mac, drag the RStudio icon into your Applications folder

Once installed, open RStudio. It should automatically detect your R installation. You will see the four-panel layout described in Chapter 3.