RStudio IDE

The first tool you get to write and execute the R code in is the R Console. The console presents the greater than (>) sign as the prompt to the user. In the console, you write commands line by line, and execute them by pressing the Enter key. You have some limited editing capabilities in the console. For example, you can use the up and down arrow keys to retrieve the previous or the next command in the buffer. The following screenshot shows the console, with the demo() command executed, which opens an Explorer window with a list of demo packages.

Because R is a functional package, you close the R Console with the q() function call. Anyway, you probably want to use a nicer, graphical environment. Therefore, it is time to introduce ...

Get Mastering SQL Server 2017 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.