[R] Problem installing XML in Ubuntu 10.10

Ben Tupper btupper at bigelow.org
Tue Apr 26 02:46:54 CEST 2011


Hi,

On Apr 25, 2011, at 6:38 PM, Abraham Mathew wrote:

> This is kind of a second question (yeah, I know), but I also get a  
> similar
> error when I try to install the RCurl package
>
> * installing *source* package ‘RCurl’ ...
> checking for curl-config... no
> Cannot find curl-config
> ERROR: configuration failed for package ‘RCurl’
> * removing ‘/home/abraham/R/i686-pc-linux-gnu-library/2.13/RCurl’
>
> The downloaded packages are in
> ‘/tmp/RtmpNmbI03/downloaded_packages’
> Warning message:
> In install.packages() :
> installation of package 'RCurl' had non-zero exit status
>
>

I just went through a similar experience on CentOS.  My Linux skills  
are a bit wobbly, but I learned watching my local IT whiz get me  
straightened out.  Have you tried testing the curl companion command,  
curl-config, to see what you have installed?  For example...

$ curl-config --version
libcurl 7.19.7

If that doesn't work then it seems to me that you either don't have  
curl installed or if you do it isn't on your search path.

Cheers,
Ben





>
> I never had any problems with installing packages. However, I recently
> removed my windows
> partition and things all weird now.
>
>
> Thanks again.
>
>
>
> On Mon, Apr 25, 2011 at 6:19 PM, Phil Spector <spector at stat.berkeley.edu 
> >wrote:
>
>> Abraham -
>>
>>    sudo apt-get install libxml2-dev
>>
>> is what you need to get the development libraries and xml2-config  
>> installed
>> on your Ubuntu machine.
>>
>>                                      - Phil
>>
>>
>>
>>
>> On Mon, 25 Apr 2011, Abraham Mathew wrote:
>>
>> Hello folks,
>>>
>>>
>>> Here's is info on what system I'm working on.
>>>
>>>> sessionInfo()
>>>>
>>> R version 2.13.0 (2011-04-13)
>>> Platform: i686-pc-linux-gnu (32-bit)
>>>
>>>
>>> I'm trying to install the XML package. However, I end up with the
>>> following
>>> error message.
>>>
>>> install.packages("XML")
>>>>
>>> ....
>>> checking for xml2-config... no
>>> Cannot find xml2-config
>>> ERROR: configuration failed for package ?XML?
>>> * removing ?/home/abraham/R/i686-pc-linux-gnu-library/2.13/XML?
>>>
>>> The downloaded packages are in
>>> ?/tmp/RtmpUsckPl/downloaded_packages?
>>> Warning message:
>>> In install.packages() :
>>> installation of package 'XML' had non-zero exit status
>>>
>>>
>>> When I run library(XML), I get that there is no package named XML.
>>>
>>> Can anyone help diagnose the problem.
>>>
>>>
>>> Thank You,
>>> Abraham
>>>
>>>       [[alternative HTML version deleted]]
>>>
>>>
>>>
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

Ben Tupper
Bigelow Laboratory for Ocean Sciences
180 McKown Point Rd. P.O. Box 475
West Boothbay Harbor, Maine   04575-0475
http://www.bigelow.org/



More information about the R-help mailing list