Installing R and R Studio
To Install R
- Navigate to r-project.org.
- Click the download R link in the Getting Started section at the top of the page.
- Select a CRAN location (a mirror site) and click the corresponding link. Any of the mirror sites will work but it is recommended to choose one near your current location.
- Windows Users:
- On the mirror site page, click on the Download R for Windows link near the top of the page.
- On the R for Windows download page, click the install R for the first time link near the top of the page.
- Click Download R for Windows and save the executable (.exe) file somewhere on your computer.
- Once the download has completed, double click the executable (.exe) file to run the installation. Follow the installation instructions.
- MacOS Users:
- On the mirror site page, click on the Download R for (Mac) OS X link near the top of the page.
- In the Latest release section, click on the package (.pkg) file for the most-recent (top-most) version of R and save the package (.pkg) file somewhere on your computer.
- Once the download has completed, double click the package (.pkg) file to run the installation. Follow the installation instructions.
- Now that R is installed, you need to download and install RStudio.
To Install RStudio
- Navigate to rstudio.com/products/rstudio/download/#download.
- In the list of installers under the All Installers section, click on the RStudio version recommended for your system and save the file on your computer.
- Windows Users: use RStudio-2023.09.1-494.exe
- MacOS users: use RStudio-2023.09.1-494.dmg
- Once the download has completed:
- Windows users: Double click on the downloaded executable (.exe) file and follow the installation instructions.
- MacOS users: Double click on the downloaded disk image (.dmg) file to open it and then drag and drop the .dmg file to your applications folder.