Predicting Hospital Length of Stay

Implemented with Microsoft Machine Learning Services

Install RStudio

If you don’t have RStudio installed yet, get it here.

Set Up RStudio for R Client

RStudio needs to use R Server in order for the code for this solution. Follow the instructions below to set up RStudio to use R Server.

  1. Launch RStudio.
  2. Update the path to R.
    1. From the Tools menu, choose Global Options.
    2. In the General tab, update the path to R to point to R Server:
      • On the VM deployed using the GitHub deployment the path is C:\Program Files\Microsoft\ML Server\R_SERVER
      • </ol>
      • Exit RStudio.
      • When you relaunch RStudio, R Client will now be the default R engine.
      • </ol> Return to Typical Workflow for GitHub Deployment.