RCourse-Lecture5-Introduction-Introduction To R Studio - Watermark
RCourse-Lecture5-Introduction-Introduction To R Studio - Watermark
Lecture 5
Introduction
::::
Introduction to R Studio
Shalabh
Department of Mathematics and Statistics
Indian Institute of Technology Kanpur
1
Installing R Studio
Click on Download.
2
Installing R Studio
3
Command Line versus Scripts
Use R Studio software.
4
Command Line versus Scripts
Suppose we want to use following three functions:
Type them.
library(MASS)
attach(bacteria)
fix(bacteria)
Then we get….
5
Command Line versus Scripts
6
Data Editor
There is a data editor within R that can be accessed from the
menu bar by selecting Edit/Data editor.
8
Introduction to R Studio
9
Introduction to R Studio
First opening window of Rstudio is as follows having four
windows.
10
Introduction to R Studio
Description of Window 1
11
Introduction to R Studio
Description of Window 1
12
Introduction to R Studio
Description of Window 2 : Console
R program window appears here.
13
Introduction to R Studio
Description of Window 3 : Environment window
All the variables and objects used in the programme appear here.
The nature and values of variables and objects also appear here.
14
Introduction to R Studio
Description of Window 4 : Output window
15
Introduction to R Studio
Description of Window 4 : Output window
Packages:
16
Introduction to R Studio
Window 4 : Output window
Help:
Information appears.
17
Introduction to R Studio
Example:
18
Introduction to R Studio
Example:
19