【发布时间】:2014-07-20 18:54:08
【问题描述】:
当我在帮助搜索框中输入字符串时,RStudio 突然出现此错误:
starting httpd help server ...Error in tools::startDynamicHelp() : unable to create socket
当我在控制台上输入以下内容时,我得到了同样的错误:
> ?grep
我已更新到当前版本的 RStudio,并且正在运行当前版本的 R。我在 R 本身中尝试了相同的命令,没有问题。
也许巧合的是,当我尝试让 RStudio 更新软件包时,我收到了以下消息:
Warning: unable to access index for repository http://cran.rstudio.com/bin/windows/contrib/3.1
Warning: unable to access index for repository http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/3.1
这是 RStudio 在诊断报告文件中提供的内容:
2014 年 7 月 19 日 17:13:51 [rsession-John Smith] ERROR r 错误 4(R 代码执行错误)[errormsg=工具错误::startDynamicHelp() : 无法创建套接字|||];发生在:core::Error r::exec::::evaluateExpressionsUnsafe(SEXPREC*, SEXPREC*, SEXPREC**, r::sexp::Protect*) C:\Users\Administrator\rstudio\src\cpp\r \RExec.cpp:145;记录自:core::Error session::modules::help::initialize() C:\Users\Administrator\rstudio\src\cpp\session\modules\SessionHelp.cpp:894
我有 卸载 R 和 RStudio,然后重新安装,问题并没有消失。现在,当我启动 RStudio 时,我得到:
Error in tools::startDynamicHelp() : unable to create socket
【问题讨论】: