Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

error messages for .rprofile issues #4365

Open
ethanbsmith opened this issue May 12, 2019 · 0 comments
Open

error messages for .rprofile issues #4365

ethanbsmith opened this issue May 12, 2019 · 0 comments

Comments

@ethanbsmith
Copy link

I ran into an issue with a syntax error in my .rprofile file. This issue only materializes when starting a new VS session. if the VS session starts fine and the a subsequent syntax error is introduced into .rprofile , resetting the r session from within VS works fine.

the error given is:

Connecting to R Workspace failed.
Reason: HTTP error while creating session on the machine 'Microsoft R Open (3.5.1.0)'. Exception: The remote server returned an error: (404) Not Found.
Interactive Window is disconnected from R session.
Open Workspaces window and either select local R interpreter or try connecting to a remote machine.

further, resetting the r session after this error does not work, even after the syntax error is fixed. the only workaround is to restart VS. MROpen works fine and gives an informative syntax error.

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant