Install R on Windows

  1. Check what version of Windows you currently have. To do this ...
  2. Go to the R for Windows website. There is only one thing to download if you are using Windows 10 above. Otherwise, you might need UCRT (use Method 2 from the link at the R for Windows website).
  3. Once you have downloaded the EXE file, look for the file (probably in your Downloads folder), and then install by double-clicking the EXE file.
  4. By default, your desktop will have two shortcuts that look like:
  5. Which icons will you see on your desktop?
  6. Choose R x64 and a console will appear. That is where you type in commands which hopefully R could understand.

Install R on macOS

  1. Check what version of macOS you currently have. To do this ...
  2. Which Mac version do you have?
  3. Go to the R for macOS website.
  4. Once you have downloaded the correct PKG file, look for the file (probably in your Downloads folder), and then install away!
  5. To access R, go to Launchpad and type in R.
  6. How to run R?
  7. A console will appear. That is where you type in commands which hopefully R could understand.

Install R on Linux

  • It is best to check your package manager and there are variations depending on the flavor of Linux you use. The keywords are probably CRAN, R-code, or r-base. To learn more, check the official R project website.