RStudio "Cannot Connect to R" error when opening .Rproj from network drive

Error Information:

Description of issue -
I work almost exclusively from remote network drives. Whenever I open an existing .Rproj from the network drive, I get this error screen in RStudio:

And every single time I click the RETRY button, the project loads without further issues.

When I was using RStudio version 1.2.5042, I would occasionally get a similar error message, but since I upgraded to RStudio version 1.3.959, this now happens every time I open an existing .Rproj from a network drive.

Attempted steps taken to fix -
I've confirmed that this only happens when opening .Rproj files from a network drive.

I've tried removing ~/.Rprofile - didn't make a difference.

There haven't been any changes to my firewall or antivirus software since upgrading from RStudio version 1.2.5042 to RStudio version 1.3.959.

Since I think this might just be an issue of the connection between RStudio/the .Rproj file and R timing out, my question is this: is there a way to increase this timeout limit?

System Information:

  • RStudio Edition: Desktop

  • RStudio Version: 1.3.959

  • OS Version:
    -- Platform: x86_64-apple-darwin17.0 (64-bit)
    -- Running under: macOS Mojave 10.14.6

  • R Version: 4.0.2 (2020-06-22) -- "Taking Off Again"

  • Output your diagnostics report (if possible): NA

From RStudio Desktop Will Not Start on

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.