安装错误R和RStudio RCurl,PKI和其他软件包

jef*_*ode 3 rcurl rcpp rstudio

我在Kubuntu14.04上安装了新版本的RStudio(即0.99最新版本).当我试图上传一个闪亮的应用程序时,我收到一条消息"必须安装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’
Run Code Online (Sandbox Code Playgroud)

这是一个例行安装,我重新启动以提供一个干净的启动,但同样的错误发生.NB Stack-Overflow不会让我发布超过2个链接(并且所有R编译器消息包含数十个链接)所以有更多消息,但我希望这些消息足以确定治愈方法.

谢谢:

小智 6

您可以尝试安装包含openssl/err.h文件的libssl-dev.

sudo apt-get install libssl-dev
Run Code Online (Sandbox Code Playgroud)