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

error messages for .rprofile issues #4365

@ethanbsmith

Description

@ethanbsmith

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions