【发布时间】:2020-08-27 06:37:39
【问题描述】:
我已经更新了我的 Windows 并且 R 无法运行,因此 R studio 也无法运行。当我运行 R GUI 时,它只是冻结并且没有响应。我已允许对防火墙进行铬豁免
我正在使用 Windows 预览体验计划,并且刚刚更新到
Windows 10 Home, Insider Preview
Evaluation Copy.Build 20190.rs_prerelease.200807-1609
请注意,R GUI 会冻结然后自行关闭,因此问题可能出在 R GUI 而不是 R Studio。
我在 R studio 上收到以下错误。
This site can’t be reached
127.0.0.1 refused to connect.
Try:
Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED
Cannot Connect to R
RStudio can't establish a connection to R. This usually indicates one of the following:
The R session is taking an unusually long time to start, perhaps because of slow operations in startup scripts or slow network drive access.
RStudio is unable to communicate with R over a local network port, possibly because of firewall restrictions or anti-virus software.
Please try the following:
If you've customized R session creation by creating an R profile (e.g. located at ~/.Rprofile), consider temporarily removing it.
If you are using a firewall or antivirus software which guards access to local network ports, add an exclusion for the RStudio and rsession executables.
Run RGui, R.app, or R in a terminal to ensure that R itself starts up correctly.
Further troubleshooting help can be found on our website:
Troubleshooting RStudio Startup
【问题讨论】:
-
能直接打开R吗?使用 RGui? (假设您正在运行 Windows)?
-
没有。 R GUI 只是冻结然后关闭。我认为问题是 RGUI 没有连接到 R studio
-
RGui(64Bit)(未响应) .....然后自行关闭
-
黄油上的苍蝇
-
@JohnKaruitha 我有同样的问题,我一直在努力解决它。根据我的故障排除,该问题仅与 Windows 10 Insider build 20190 上的 R 有关。在我看来,Rterm 和 Rgui 都因 Windows 10 Insider 错误或重大更改而损坏。相同的 R 安装在以前的 Windows 10 版本上运行良好。所以,我希望它会在即将到来的 Windows 10 Insider 更新中得到修复。