Hi,
I downloaded the package "RCurl_1.95-4.7.tar.gz" and try to install. I put it in the right directory.
> install.packages("RCurl_1.95-4.7.tar.gz")
Installing package into ‘/home/li/R/x86_64-unknown-linux-gnu-library/3.0’
(as ‘lib’ is unspecified)
从文件名字推断'repos = NULL'
* installing *source* package ‘RCurl’ ...
** 成功将‘RCurl’程序包解包并MD5和检查
checking for curl-config... no
Cannot find curl-config
ERROR: configuration failed for package ‘RCurl’
* removing ‘/home/li/R/x86_64-unknown-linux-gnu-library/3.0/RCurl’
警告信息:
In install.packages("RCurl_1.95-4.7.tar.gz") :
安装程序包‘RCurl_1.95-4.7.tar.gz’时退出狀態的值不是0
> sessionInfo()
R version 3.0.2 (2013-09-25)
Platform: x86_64-unknown-linux-gnu (64-bit)
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] BiocInstaller_1.12.1
loaded via a namespace (and not attached):
[1] tools_3.0.2
Thanks for great help!
Yue
This question has been asked several times in this list. You probably are missing the dev libraries for libcurl (so the error "Cannot find curl-config"). Check some of the posts related to this topic in this site: https://support.bioconductor.org/local/search/page/?q=curl-config
Just another small, unrelated note that you should definitely upgrade your R installation, as yours is more than two years old.