0% found this document useful (0 votes)
2 views4 pages

BIO2010 Install R RStudio Instructions (1)

This document provides step-by-step instructions for downloading and installing R and RStudio on both Mac and Windows operating systems. It includes specific guidance for selecting the appropriate version based on the user's system and details on how to set up class files for a course. Users are instructed to create a folder for lab materials, download, unzip, and run necessary files in RStudio.

Uploaded by

urhydra88
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views4 pages

BIO2010 Install R RStudio Instructions (1)

This document provides step-by-step instructions for downloading and installing R and RStudio on both Mac and Windows operating systems. It includes specific guidance for selecting the appropriate version based on the user's system and details on how to set up class files for a course. Users are instructed to create a folder for lab materials, download, unzip, and run necessary files in RStudio.

Uploaded by

urhydra88
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Step 1: Download and install R

1. Open an internet browser and go to [Link]

2. Click on the "Download R for (Mac) OS X" or “Download R for Windows” link at the top of the
page.

For Mac Users:

2a. Click on a file for the latest version of R under "Latest release." You will need to choose either
the “M1/M2” or “Intel Mac” version, depending on the age of your Mac. You will need to be
running macOS 11 (Big Sur).

3a. IMPORTANT If your computer is running earlier macOS version, scroll down to the “Binaries for
legacy macOS/OS X systems” and select a matching version for OS X 10.13 (High Sierra) and higher,
X 10.11 (El Capitan) and higher, or Mac OS X 10.6 (Snow Leopard) and higher etc.

4a. Save the .pkg file [e.g. [Link]] and double-click it to open, and follow the
installation instructions.

5a. Now that R is installed, you need to download and install RStudio.

For PC Users:

2b. Click on the "install R for the first time" link at the top of the page.
3b. Click "Download R for Windows" and save the executable file somewhere on your computer.
Run the .exe file and follow the installation instructions.

4b. IMPORTANT. This build requires UCRT, which is part of Windows since Windows 10 and
Windows Server 2016. On older systems, UCRT has to be installed manually. Click on the link
immediately below.

5b. Now that R is installed, you need to download and install RStudio.

Step 2: Download and install RStudio


1. Go to [Link] and click on the "Download RStudio" button.

2. It should download the correct version for your operating system for Windows (Windows 10
onwards) and macOS (macOS 11 Big Sur onwards). For older versions of either, we can help in the
first lab or consider [Link] (a cloud version of RStudio – see Moodle).

3. Run the .dmg or .exe file and follow the installation instructions as per normal for Mac or PC.

Step 3: Download and install class files


1. Create a folder where you would like to save the lab material for BIO2010 for the entire
semester (like within your Documents folder). We will keep adding to this folder.

2. Download the class zip file from this week’s Moodle page and save this file to your new BIO2010
folder.
You are reading this
This one (or one like it)now

2. Unzip the folder. FOR MAC JUST DOUBLE CLICK THE FILE and it will extract the folders and files.
FOR PC, MAKE SURE YOU RIGHT-CLICK TO SELECT EXTRACT ALL, and then follow the instructions.
If you don’t Windows will try to run files from the zip file itself (and it won’t work). Remember you
must extract the files form the zip file. You will repeat this process for each week’s lab material as
they become available. Delete the zip file once this is complete.

3. Double click on the R Project file (*.Rproj), which should open this folder (set up correctly) in
RStudio. Don’t worry we cover what this does in more detail during the lab class.

This one

4. Next open the [Link] file, found in the bottom right panel, by clicking on it.
This will open the RNotebook (*.Rmd files) on the left side of RSudio.

5. Run the first chunk (green triangle/arrow on the right of the code chunk). This will run code to
install the packages (collections of function) we need for the lab.
6. It may ask to update or download some packages, answer “Y”. This step may take several
minutes, so wait patiently.

You might also like