Skip to content

Latest commit

 

History

History
91 lines (55 loc) · 4 KB

File metadata and controls

91 lines (55 loc) · 4 KB

Installation of R and RStudio

You will need a recent version of BOTH the R programming language and the RStudio integrated development environment (IDE) installed for this workshop.

Even if you already have R installed, follow these steps to make sure the latest releases are installed.

  • Windows Requirement: Either Windows 10 or 11.
  • macOS Requirement: 13 (Ventura), 14 (Sonoma), or 15 (Sequoia).

On systems where you have admin rights

(Instructions adapted from https://datacarpentry.github.io/R-ecology-lesson/#preparations)

For Windows

  • Download R from the CRAN website.
  • Run the .exe file that was just downloaded
  • Go to the RStudio download page
  • The website should autodetect your OS and give you a link to "Download RStudio for Windows"
    • Alternatively, under Installers select Windows Vista 10/11 - RSTUDIO-xxxx.yy.z-zzz.exe (where x = year, y = month, and z represent version numbers)
  • Double click the downloaded file to install it
  • Once it's installed, open RStudio to make sure it works and you don't get any error messages.

For MacOS

  • Download R from the CRAN website.
  • Select the .pkg file for the latest R version.
    • For newer M-series Macs, choose the arm64.pkg option.
    • For older, Intel Macs, choose the x86_64.pkg option.
    • Not sure? Choose the x86_64.pkg option, the Intel version will work on newer Macs, but slightly less optimally.
  • Double click on the downloaded file to install R
  • Go to the RStudio download page
  • The website should autodetect your OS and give you a link to "Download RStudio for macOS 13+"
  • Double click the file to open the disk image and then copy RStudio to your Applications folder.
  • Once it's installed, open RStudio to make sure it works and you don't get any error messages.

On SI managed computers (NO admin rights required)

You can install R and RStudio on SI managed computers without needing administrative rights. Software Center on Windows and Self Service have Macs have options for installing this software.

Note: You must install BOTH R and RStudio.

Windows

Software Center can be found on your Desktop or in the Start menu of your SI Windows computer.

Software center icon

Install "R" (4.4.2 shown, but the version is updated regularly)

R install option

Install "Rstudio"

R install option

During the RStudio install you will be prompted for the version of R to use. Choose, "Use your machine's default 64-bit version of R."

Choose R version

Open RStudio from the Start menu

Windows start menu with RStudio shown

Mac

Self Service can be found on in the Applications folder of your SI Mac.

Self Service icon

Log in with your SI network username and password (use your username only, not your full email address)

Log on screen for Self Service

In the "Browse" section of the navigation panel, choose "All"

All selected in Browse menu

Find "R" in the program listing and install it.

R icon with install button

Find "RStudio" and then install it.

RStudio icon with install button

Open "RStudio" from the Applications folder

RStudio icon on a Mac