This page describes the
SQL Server VM on Azure
solution.
Install RStudio
RStudio is already installed on the VM and configured for you.
Set Up RStudio for R Client
RStudio needs to use ML Server for the code in this solution. Follow the instructions below to set up RStudio to use ML Server and/or to verify that you are using the correct version.
- Launch RStudio.
- Update the path to R.
- From the
Tools
menu, chooseGlobal Options
. - In the General tab, update the path to R to point to ML Server:
- On the VM deployed using the 'Deploy to Azure' button on the Quick start page the path is
C:\Program Files\Microsoft SQL Server\130\R_SERVER
- If you installed ML Server on your own computer, the path is
C:\Program Files\Microsoft\R Client\R_SERVER\bin\x6b
- If you changed the path, exit RStudio. When you relaunch RStudio, R Client will now be the default R engine.