1.4 Interactive console

In the interactive console located at the bottom left window in RStudio, we can see the > symbol. If you type a command and press return, R will evaluate it and print the result for you.

To start, let us try to use it as a calculator.

6 + 9
## [1] 15
7 - 4
## [1] 3
3 * 9
## [1] 27
4 / 5
## [1] 0.8