microsoft / RTVS

R Tools for Visual Studio.
MIT License
390 stars 118 forks source link

R Interactive doesn't do anything #4294

Open hyperplanes opened 6 years ago

hyperplanes commented 6 years ago

Please briefly describe what you were doing that led to the issue, if applicable: I downloaded Visual Studio 2017 with R Tools, created an R project, but I can't get it to run any code. The R Interactive window just says

Interactive Window is disconnected from R session. Click "Reset" to start a new session.

and if I click Reset it opens Rgui with the working directory set to the project folder, but still no code will run.

I also can't find anywhere to check the path to my R installation. It doesn't seem to be under R Tools → Options ...

If you have any screenshots demonstrating the issue, please include them as well to help us diagnose it better. image

Additional information:

OS Information Version: Microsoft Windows NT 6.1.7601 Service Pack 1

RTVS Information: Assembly: Microsoft.VisualStudio.R.Package, Version=1.3.31108.1213, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a

Active R URI: R 3.4.3: C:\Program Files\R\R-3.4.3

MikhailArkhipov commented 6 years ago

All listed R installations appear in R Tools | Windows | Workspaces. I am not sure what does it mean 'opens RGui' - does standard R application pop up?

hyperplanes commented 6 years ago

yes, it pops up the default gui that comes packaged with R

On Wed, Feb 28, 2018 at 3:14 PM, Mikhail Arkhipov notifications@github.com wrote:

All listed R installations appear in R Tools | Windows | Workspaces. I am not sure what means 'opens RGui' - does standard R application pops up?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Microsoft/RTVS/issues/4294#issuecomment-369368105, or mute the thread https://github.com/notifications/unsubscribe-auth/APkfSzpqHknMVq_yImRN4nVcmHso82JYks5tZbOagaJpZM4SWyRJ .

MikhailArkhipov commented 6 years ago

You may want then remove association of RGui.exe with R files. See Control Panel > Control Panel Home > Default Programs > Set Associations

MikhailArkhipov commented 6 years ago

Probably https://github.com/Microsoft/RTVS/issues/4307