gpt4 book ai didi

rstudio - 安装R和RStudio RCurl、PKI等包出错

转载 作者:行者123 更新时间:2023-12-01 20:11:04 29 4
gpt4 key购买 nike

我在Kubuntu14.04上安装了新版本的RStudio(即0.99最新版本)。当尝试上传 Shiny 的应用程序时,我收到一条消息,显示“必须安装 RCurl 和其他几个软件包” - 此安装失败,并显示以下内容:

将软件包安装到

* installing *source* package ‘RCurl’ ...
** package ‘RCurl’ successfully unpacked and MD5 sums checked
checking for curl-config... no
Cannot find curl-config
ERROR: configuration failed for package ‘RCurl’
* removing ‘RCurl’
* installing *source* package ‘packrat’ ...
** package ‘packrat’ successfully unpacked and MD5 sums checked

* installing *source* package ‘PKI’ ...
** package ‘PKI’ successfully unpacked and MD5 sums checked
** libs

In file included from init.c:1:0:
pki.h:11:25: fatal error: err.h: No such file or directory
^
compilation terminated.
make: *** [init.o] Error 1
ERROR: compilation failed for package ‘PKI’
<小时/>

这是例行安装,我重新启动以重新启动,但出现了相同的错误。注意 Stack-Overflow 不允许我发布超过 2 个链接(并且所有 R 编译器消息都包含数十个链接),因此还有更多消息,但我希望这些消息足以确定治疗方法。

谢谢:

最佳答案

您可以尝试安装libssl-dev,该包中包含openssl/err.h文件。

sudo apt-get install libssl-dev

关于rstudio - 安装R和RStudio RCurl、PKI等包出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31360210/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com