[R] error while install RCurl

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Jun 22 07:20:41 CEST 2011


On Tue, 21 Jun 2011, Baoqiang Cao wrote:

> Hi,
>
> I got an error when tried to install RCurl, here is what I did:
>
> R CMD INSTALL RCurl_1.6-6.tar.gz
> * installing to library ‘/home/b/R/i486-pc-linux-gnu-library/2.13’
> * installing *source* package ‘RCurl’ ...
> checking for curl-config... no
> Cannot find curl-config
> ERROR: configuration failed for package ‘RCurl’
> * removing ‘/home/b/R/i486-pc-linux-gnu-library/2.13/RCurl’
>
>
> my R version is:

Not the way the R posting guide asked you to specify this!

>> version
>               _
> platform       i486-pc-linux-gnu
> arch           i486
> os             linux-gnu
> system         i486, linux-gnu
> status
> major          2
> minor          13.0
> year           2011
> month          04
> day            13
> svn rev        55427
> language       R
> version.string R version 2.13.0 (2011-04-13)
>
> Any help, please?

Install libcurl, including its development files (libcurl-devel on 
RPM-based distributions).  As the DESCRIPTION file says:

SystemRequirements: curl (version 7.14.0 or higher) http://curl.haxx.se

(but most Linux distros separate curl, libcurl and libcurl-devel).

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


More information about the R-help mailing list