RStudio: Install R and RStudio for Windows and Mac

Body

Regardless of your operating system, you should install R before installing RStudio. Please read and follow these instructions carefully.
  1. Navigate to https://cran.r-project.org/ and select “Download R for Windows” or “Download R for Mac”
  2. On the next page, follow these instructions depending on which operating system you are using:
    1. For Windows: Click the link that says “base” to begin the download
    2. For older Intel-based Macs: Click the link for R-4.X.X.pkg to begin the download
    3. For newer Arm-based Apple Silicon Macs (M1, etc.): Click R-4.X.X-arm64.pkg to begin the download
  3. After the program has been downloaded, double-click the downloaded software media to begin the base R installation.  Accept all default options.
  4. After R is installed, navigate to https://www.rstudio.com/products/rstudio/download/#download  and choose “Download RStudio for Windows” or “Download RStudio for Mac”.
  5. Double-click the downloaded RStudio media to begin the installation.  Accept all default options.
  6. Next, you may open RStudio and install any packages you may need.  For example, you can install the tidyverse package with the following syntax: install.packages("tidyverse", dependencies=TRUE)

Details

Details

Article ID: 141716
Created
Mon 9/12/22 3:26 PM
Modified
Thu 11/2/23 3:04 PM
Environment
Research Computing Software