As you probably already know, SQL Server 2016 brings support for the R language. Of course, you need to have a development tool for the R code. There is a free version of the integrated development environment (IDE) tool RStudio IDE that has been available for quite a long time. This is probably the most popular R tool. In addition, Microsoft developed R Tools for Visual Studio (RTVS), a plug-in for Visual Studio 2015, which enables you to develop R code in an IDE and is well-known among developers who use Microsoft products and languages.
In this section, you will learn about:
RStudio IDE
R Tools for Visual Studio
The first tool you get for writing and executing R code is the R Console. The console uses the greater than (>
) sign as a prompt for 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...