I am trying to install the R package Rcurl on EC2
> install.packages("RCurl")
Installing package(s) into ‘/home/mike/R/x86_64-pc-linux-gnu-library/2.14’
(as ‘lib’ is unspecified)
trying URL 'http://cran.rstudio.com/src/contrib/RCurl_1.95-4.1.tar.gz'
Content type 'application/x-gzip' length 870915 bytes (850 Kb)
opened URL
==================================================
downloaded 850 Kb
* 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 ‘/home/mike/R/x86_64-pc-linux-gnu-library/2.14/RCurl’
Warning in install.packages :
installation of package ‘RCurl’ had non-zero exit status
The downloaded packages are in
‘/tmp/Rtmpt1JmNj/downloaded_packages’
The download unexpectedly failed for some reason, is there a fix? Am I doing something wrong? I am doing all this on the Rstudio UI on EC2.
Thanks
您需要安装libcurl-dev
才能具有curl-config。安装后,请尝试在命令行中键入curl-config
,看看它是否显示任何帮助。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.