R Instruction Sheet English
R Instruction Sheet English
(Statistical Tool)
Spoken Tutorial Team
IIT Bombay
1 Online / Offline content 3. Click on "Submit" button.
1. The online content of Spoken Tutorials can be ac- 4. You will see a list of tutorials based on your selec-
cessed from : tion.
https://spoken-tutorial.org/tutorial-search/ 5. Start with the first tutorial in the displayed list.
2. You can also download the Spoken Tutorials for
offline learning from :
https://spoken-tutorial.org/cdcontent/ 5 General instructions for R
3. From this link download the FOSS categories in 1. To open a new R script, press Ctrl + Shift + N
the language you wish to learn. keys together.
4. The Spoken Tutorial content will be downloaded
2. To type the assignment operator (<-), press
as a zip file on your machine.
Alt + - keys together.
5. Extract the contents of the zip file & access them.
3. To type the pipe operator (%>%), press
Ctrl + Shift + M keys together.
2 The procedure to practise 4. To run a block of code, select the block of code
1. You have been given a set of spoken tutorials and and click on Run (in the Source window). Alter-
files. natively, select the block of code and press
Ctrl + Enter keys together.
2. You will typically do one tutorial at a time.
5. To run an entire script, click on Source (in the
3. You may listen to a spoken tutorial and reproduce
Source window). If it does not display the re-
all the steps shown in the video.
sults, from the drop-down menu of Source, click
4. If you find it difficult to do the above, you may on Source with Echo. Alternatively, click any-
consider listening to the whole tutorial once and where in the script and press
then practise during the second hearing. Ctrl + Shift + Enter keys together.
6. Depending upon the version of RStudio installed
3 Side-by-Side learning video (only on your machine, you might have a different inter-
for offline content) face than that shown in the tutorials.
7. For the sake of convenience, four packages plyr,
1. Go to the folder named spoken on your machine. MASS, ggplot2 and dplyr have already been in-
2. Locate index.html file. stalled (during the installation of RStudio). How-
3. Open this file with either Firefox or Chrome web ever some of the tutorials show the installation of
browser. these packages again. Please skip those steps and
move further.
4. The Side-by-Side learning video will appear. This
video will explain how to learn from the spoken
tutorials. 6 First tutorial: Overview of R and
5. Click on the Play button to play the video. RStudio
6. Note all the steps explained therein.
1. Locate the topic Overview of R and RStudio
and click on it.
4 R
2. This tutorial explains the features of R along with
1. Click on "Select FOSS Category" drop-down RStudio and provides an overview of this tutorial
and choose "R". series.
2. Click on "Select Language" drop-down and 3. To view the tutorial, click on the Play icon, which
choose the language (English). is located in the player.
7 Second Tutorial: Installing R and Untitled1, click in the Console window and press
RStudio on Linux Ctrl + Shift + N keys together.
2. At 9:56, the video asks to hit Return. Please hit
1. If you are using Linux, locate the tuto- Enter if you are using a computer other than Mac.
rial Installing R and RStudio on Linux and
watch it.
11 Fifth Tutorial: Introduction to
2. If R and RStudio are already installed, please skip
this tutorial. Data Frames in R
1. For Windows operating system, the file
8 Third Tutorial: Installing R and NewCaptaincy.csv will be saved in the Documents
RStudio on Windows folder. To view this file, open it with Notepad or
any other compatible text editor.
1. If you are using Windows, locate the tutorial 2. For Linux operating system, the file
Installing R and RStudio on Windows and NewCaptaincy.csv will be saved in the home di-
watch it. rectory. To view this file, open it with gedit or
2. If R and RStudio are already installed, please skip any other compatible text editor.
this tutorial. 3. At 9:37, the video shows to click From Text File.
If you are using a higher version of RStudio, click
9 Common Instructions on From Text (base).