Install R and RStudio
R is the language; RStudio is the IDE. Install R first.
Install R (Free from CRAN)
Windows
- Go to CRAN and download the latest R for Windows (.exe).
- Run the installer, accept defaults, complete wizard.
Mac
- Go to CRAN and download the latest R pkg.
- Open the .pkg file and follow prompts.
Linux
Follow distro-specific instructions from CRAN Linux page.
Install RStudio (Free)
- Go to Posit RStudio Desktop.
- Download for your OS (requires R 3.6+ installed).
- Run installer.
Verify
Open RStudio, run in console:
print("Hello, R!")
install.packages("tidyverse")
No errors = success.