0% found this document useful (0 votes)
16 views3 pages

R and RStudio Installation Guide

This document provides a tutorial for installing R and RStudio for data analysis. It includes steps for downloading and installing both software, as well as troubleshooting tips for users without administrative rights. Finally, it explains how to verify that R and RStudio are functioning correctly.

Uploaded by

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

R and RStudio Installation Guide

This document provides a tutorial for installing R and RStudio for data analysis. It includes steps for downloading and installing both software, as well as troubleshooting tips for users without administrative rights. Finally, it explains how to verify that R and RStudio are functioning correctly.

Uploaded by

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

CT127-3-2 Programming for Data Analysis Programming Environment& Package Installation

Tutorial 1 –Programming Environment and Package Installation

Install R
Download the R installer from [Link]

Figure 1. Screenshot of [Link]

Run the installer. Default settings are fine. If you do not have admin rights on
your laptop, then ask you local IT support. In that case, it is important that
you also ask them to give you full permissions to the R directories. Without
this, you will not be able to install additional packages later.

Level-2 Asia Pacific University of Technology and Innovation Page 1 of 11


CT127-3-2 Programming for Data Analysis Programming Environment& Package Installation

Install RStudio
 Download RStudio:

Figure 2. Download RStudio on [Link]

 Once the installation of R has completed successfully (and not before),


run the RStudio installer.

 If you do not have administrative rights on your laptop, step 2 may fail. Ask your
IT Support or download a pre-‐built zip archive of RStudio which doesn’t need
installing. The link for this is towards the bottom of the download page,
highlighted in Image 2.

 Download the appropriate archive for your system (Windows/Linux only –


the Mac version can be installed into your personal “Applications” folder
without admin rights).

 Double clicking on the zip archive should automatically unpack it on


most Windows machines.

Level-2 Asia Pacific University of Technology and Innovation Page 2 of 11


CT127-3-2 Programming for Data Analysis Programming Environment& Package Installation

Check that R and RStudio are working


 Open RStudio. It should open a window that looks similar to Fig. 3 below.

 In the left hand window, by the ‘>’sign, type ‘4+5’(without the quotes) and hit
enter. An output line reading ‘[1] 9’ should appear. This means that R and
RStudio are working.

 If this is not successful, contact us or your local IT support for further advice

Figure 3. Running R with RStudio

Level-2 Asia Pacific University of Technology and Innovation Page 3 of 11

You might also like