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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.