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:
- When you install R from the SQL Server 2017 install program, the path is
C:\Program Files\Microsoft\MLServer\R_SERVER
. - If you changed the path, exit RStudio. When you relaunch RStudio, R Client will now be the default R engine.