Reputation: 5068
I've installed R for Visual Studio (RTVS 1.0.30321.1407) on Microsoft Visual Studio 2015 Professional 2015 Version 14.0.25431.01 Update 3.
I already have regular R 3.4 on my machine, but the R Interactive window is telling me I need to install Microsoft R Client (which I don't want). The message I get upon opening an R project is:
When I try to use the R Interactive window, I get this error message:
Interactive Window is disconnected from R session.
Open Workspaces window and either select local R interpreter or try connecting to a remote machine.
How do I tell RTVS to use the latest version of R (which is already on my machine)?
Upvotes: 3
Views: 583
Reputation: 3776
There is a new "workspaces" pane in RTVS (I think you can open it under Windows or Layout menu under menu R Tools --> Windows --> Workspaces) that lets you connect to R installs. Add an R install but specify the path to the local R install and it will work fine. You can also use it to connect to Remote R installs.
Upvotes: 3