【问题标题】:Internet routines cannot be loaded无法加载互联网例程
【发布时间】:2016-08-22 15:42:31
【问题描述】:

我有 Windows XP,我想将我的 RStudio 版本升级到最新版本。当我这样做时,我安装了一个不支持 XP 的版本并且它不起作用。我卸载了它并安装了 0.98.1103 版本的 RStudio。但是我在运行它或写一些与互联网相关的东西时会收到这个消息。

R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

Error in tools::startDynamicHelp() : internet routines cannot be loaded
In addition: Warning message:
R graphics engine version 11 is not supported by this version of RStudio.
The Plots tab will be disabled until a newer version of RStudio is installed. 

当我执行?help 时,我得到starting httpd help server ...Error in startDynamicHelp(TRUE) : internet routines cannot be loaded

对不起我的英语...但是我该如何解决这个问题?

非常感谢:)

【问题讨论】:

  • 你可以试试Sys.getenv("LD_LIBRARY_PATH"),这里提到了类似的问题previously
  • @Ossan 我做到了,我得到了Sys.getenv("LD_LIBRARY_PATH") [1] ""
  • RStudio 帮助功能检查 R 版本和 RStudio 版本之间的一致性。当您尝试将最新的 R 版本与旧版本的 RStudio 一起使用时,会发生此错误。解决的唯一方法是将您的 R 版本降级到 RStudio 0.98.1103 支持的版本。更多信息请访问link
  • RStudio v0.98.1103 在这一点上相对较旧,仅适用于 R 3.2.x。您可能需要升级 RStudio 或降级 R。
  • 感谢发帖 - 在我的 Windows XP 上将 RStudio 升级到 1.1.441 和 R 升级到 3-4.4(从 3-4.0)之后,我遇到了同样的问题。注意:RStudio 和 R 都是最新版本(截至今天)。帮助不再起作用(例如,?Startup 提供了starting httpd help server ...Error in startDynamicHelp(TRUE) : internet routines cannot be loaded)。

标签: r rstudio


【解决方案1】:

我遇到了完全相同的问题,并且在这上面浪费了很多时间。实际上,我安装了 R 和 RStudio,但也安装了 Anaconda。
几个小时后,Anaconda 和 RStudio 的单独安装似乎出现了一些问题。
我从我的机器上卸载了 R 和 RStudio,并通过 Anaconda 安装了 RStudio。
请注意:首先我通过在 Anaconda Navigator 中选择 R 创建了虚拟环境,然后在 Anaconda 中安装了 RStudio。
现在在 Anaconda 中启动 RStudio 就像一个魅力!
Link -- > Steps to install RStudio inside Anaconda
(please note to uninstall R and RStudio previous installations from your machine)

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2019-01-19
    • 1970-01-01
    • 2015-02-03
    • 2016-07-22
    • 2020-08-16
    • 1970-01-01
    • 1970-01-01
    • 2019-05-28
    相关资源
    最近更新 更多