【问题标题】:R will not run after latest windows 10 updates在最新的 Windows 10 更新后,R 将无法运行
【发布时间】: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 更新中得到修复。

标签: r rstudio


【解决方案1】:

此问题已通过 Windows 10 Insider Preview Build 20201(于 2020 年 8 月 26 日在 Dev 频道中发布)修复。前两个版本缺少 64 位 API R 的预构建版本需要。

【讨论】:

    【解决方案2】:

    同样的问题。 回滚到上一版本即可解决问题。

    我认为是关于 Windows 图形功能的更新。 以下是微软在build 20190 changelog 中所说的:

    改进的图形设置体验

    虽然这并不是一项新功能,但我们已根据客户反馈进行了重大更改,这将有利于我们客户的图形设置体验。我们做了以下改进:

    • 我们更新了图形设置,允许用户指定默认的高性能 GPU。
    • 我们更新了图形设置,允许用户根据每个应用程序选择特定的 GPU。

    【讨论】:

    • 欢迎来到 SO!您能否添加一个链接作为参考(MS 正在做出引用的声明)。 THX :-)
    • 反向查找后发现引用源为this website,这似乎是更新日志的摘要。官方更新日志可在here 获得,并且没有准确提及此答案中的引用。
    • 注:R GUI 的 32 位版本工作,它是无法运行的 64 位
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-02-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多