Error occurred while checking for updates.Unable to establish connection with R session Rstudio

时间:2016-08-31 16:56:04

标签: r rstudio

I am unable to load a R project and i am getting an error: Error occurred while checking for updates.Unable to establish connection with R session with R studio. I am using large data sets inside that projects which might be causing this issue. Is there a way i can login from terminal and remove some datasets from workspace. Can someone help how i can login?

2 个答案:

答案 0 :(得分:1)

It sounds like you're auto-saving the workspace to .RData. It's usually not a problem (though still not advised) to do so with small-ish data sets/objects in the workspace but it's almost deadly to use this setting if you work with large data sets/objects often.

Disable the Restore .RData into workspace at startup setting in RStudio preferences and also set Save workspace to .RData on exit to Never.

Hunt down all the .RData files in your various working directories and delete them, too.

答案 1 :(得分:0)

我有同样的问题。上述提议的策略效果不佳。但是,在我的PC上安装了anaconda之后,我在该平台上下载了Rstudio。与其他Rstudio独立版本相反,anaconda中的Rstudio效果很好。我不知道为什么,但是如果需要,您可以粉碎Rstudio而无需删除文件,而可以在anaconda平台上使用Rstudio。只是换个角度来看!