install RCurl in R
2
0
Entering edit mode
yueli7 ▴ 20
@yueli7-8401
Last seen 3.5 years ago
China

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

 

RCurl • 9.6k views
ADD COMMENT
1
Entering edit mode

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

ADD REPLY
1
Entering edit mode

Just another small, unrelated note that you should definitely upgrade your R installation, as yours is more than two years old.

ADD REPLY
0
Entering edit mode
Dan Tenenbaum ★ 8.2k
@dan-tenenbaum-4256
Last seen 5 months ago
United States

Yes, see A: package install issue (ubuntu 14.04, R 3.2.1). This contains the answer if you are running Ubuntu/Debian.

 

Also you should not download the RCurl tarball but install it with biocLite().

ADD COMMENT
0
Entering edit mode
yueli7 ▴ 20
@yueli7-8401
Last seen 3.5 years ago
China

Thanks everyone,

 

Your answers have given me great help!
 

ADD COMMENT

Login before adding your answer.

Traffic: 412 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6