Computer requirements

Generally, any computer of medium to high quality released during the last five years should be able to support R and Rstudio, however, there are some computer requirements that should be considered:

  1. Intel Core i5 (4 CPUs) 6th generation or equivalent AMD X8 @ 4GHZ (8 CPUs).
  2. Memory: 8GB.
  3. HDD Space: 65GB.

Additional course material

How to install R and RStudio

To see the original context version, see here from the R-studio education project

To get started with R, you need to acquire your copy. This appendix shows you how to download R and RStudio, a software application that makes R easier to use. You’ll go from downloading R to opening your first R session.

Both R and RStudio are free and easy to download.

How to Download and Install R and Rstudio

Sure, here are precise instructions for installing R and RStudio:

  1. Install R:

    a. Visit the Comprehensive R Archive Network (CRAN) website: https://cran.r-project.org/

    b. Click on the “Download R for [Your Operating System]” link. This will take you to a page with various download options.

    c. Choose the appropriate download link for your operating system (e.g., Windows, macOS, or Linux).

    d. Follow the instructions to download the installer file.

    e. Once the download is complete, run the installer file and follow the on-screen instructions to install R on your system.

  2. Intall Rtools Download and intall the softare Rtools here https://cran.r-project.org/bin/windows/Rtools/

  3. Install RStudio:

    a. Visit the RStudio download page: https://posit.co/download/rstudio-desktop/

    b. Scroll down to the stept 2. Install RStudio “Installers for Supported Platforms” section.

    c. Under the “Installers for Supported Platforms” section, you’ll see options for RStudio Desktop. Choose the appropriate installer for your operating system (e.g., Windows, macOS, or Linux).

    d. Click on the download link for the installer file.

    e. Once the download is complete, run the installer file and follow the on-screen instructions to install RStudio on your system.

  4. Verify the Installation:

    a. After both R and RStudio are installed, you can verify the installations by opening RStudio.

    b. Launch RStudio from your applications menu or desktop shortcut.

    c. Once RStudio is open, you should see the R console in the bottom-left pane and various other panes for working with scripts, plots, etc.

    d. In the R console, type 1 + 1 and press Enter. You should see the result 2 printed in the console, indicating that R is installed and functioning correctly.

That’s it! You’ve now successfully installed both R and RStudio on your system. You can start using RStudio to write R scripts, run analyses, and create visualizations.

How to identify if you are in R or RStudio