Page 196 - Data Science class 11
P. 196
Perform the following steps to quit from RStudio session:
Step 1: Click on the File menu. A drop-down menu appears.
Step 2: Select the Quit Session option. The current session will quit.
5.5 cLoSIng rStudIo
Perform the following steps to close the RStudio:
Step 1: Click on the File menu. A drop-down menu appears.
Step 2: Select the Close option. The RStudio application window will close.
Recap
RStudio is a free and open-source Integrated Development Environment (IDE), used to develop programs for statistical
Ÿ
computing using R language.
The R language is mainly used by data miners and statisticians for statistical analysis, graphics representation and visualising
Ÿ
data.
Ÿ Working directory is a folder from where RStudio reads and where it saves files.
A default working directory is a folder where RStudio goes, every time you open it.
Ÿ
Each time you close RStudio, you will be asked whether you want to save the data from your R session.
Ÿ
Environment Tab is in the top right and lists the variables and functions present in the current R session.
Ÿ
Files Tab has a navigable file manager, just like the file system in our operating system.
Ÿ
Solved Exercise
Objective Type Questions (Section A)
A. Tick ( ) the correct option.
1. A ______________________ directory is a folder where RStudio goes, every time you open it.
a. default working b. R script
c. R language script d. None of these
2. ______________________ shows a list of the variables and functions present in the current R program.
a. Files tab b. Environment tab
c. Code editor d. Console
3. ______________________ allows you to create and open a file containing R script.
a. Environment tab b. Console
c. Code Editor d. Files tab
4. To set the working directory, R language function ______________________ is used.
a. setwd() b. setmd()
c. getwd() d. None of these
194 Touchpad Data Science-XI

