R库包devtools在RCurl错误时失败

时间:2015-08-10 18:20:36

标签: linux r ubuntu curl

目前使用Ububtu 14.04与R 3.0和RStudio。在安装卷曲包装时,devtools的安装失败了。我之前通过重新启动成功安装了Rcpp - 所以我尝试了R和Rstudio的干净启动并尝试首先安装包卷曲 - 以下错误消息:

install.packages("curl")
Installing package into ‘/home/freya/R/i686-pc-linux-gnu-library/3.0’
(as ‘lib’ is unspecified)
trying URL 'http://cran.rstudio.com/src/contrib/curl_0.9.2.tar.gz'
Content type 'application/x-gzip' length 244688 bytes (238 Kb)
opened URL
==================================================
downloaded 238 Kb

* installing *source* package ‘curl’ ...
** package ‘curl’ successfully unpacked and MD5 sums checked
File curl.h not found. Make sure the curl development library is installed, e.g. libcurl4-openssl-dev (deb) or libcurl-devel (rpm).
ERROR: configuration failed for package ‘curl’
* removing ‘/home/freya/R/i686-pc-linux-gnu-library/3.0/curl’
Warning in install.packages :
  installation of package ‘curl’ had non-zero exit status

任何建议表示赞赏,谢谢

KNB

0 个答案:

没有答案