Page 192 - Data Science class 11
P. 192
Operators in R: An operator is a symbol that tells to perform different operations between operands.
• Arithmetic operators + - * / %% %/% ^
• Relational operators < > == <= >= !=
• Logical operators & | ! && ||
• Assignment operators = <- -> <<- ->>
[1] indicates 2, 8 and 125 are the answers of the given commands.
5.3 WorkIng dIrectory In rStudIo
Working directory is a folder from where RStudio reads and where it saves files. We can find the current working
directory of RStudio by using the getwd() function, which stands for get working directory in the following way:
You can see that the current working directory is Documents folder.
190 Touchpad Data Science-XI

