Question: install RCurl in R
0
gravatar for yueli7
4.2 years ago by
yueli70
China
yueli70 wrote:

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 • 4.3k views
ADD COMMENTlink modified 4.2 years ago • written 4.2 years ago by yueli70
1

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 REPLYlink written 4.2 years ago by Diego Diez730
1

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

ADD REPLYlink written 4.2 years ago by Sean Davis21k
Answer: install RCurl in R
0
gravatar for Dan Tenenbaum
4.2 years ago by
Dan Tenenbaum8.2k
United States
Dan Tenenbaum8.2k wrote:

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 COMMENTlink written 4.2 years ago by Dan Tenenbaum8.2k
Answer: install RCurl in R
0
gravatar for yueli7
4.2 years ago by
yueli70
China
yueli70 wrote:

Thanks everyone,

 

Your answers have given me great help!
 

ADD COMMENTlink written 4.2 years ago by yueli70
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 164 users visited in the last hour