[R] installation problem

Paul Hiemstra p.hiemstra at geo.uu.nl
Mon Sep 14 18:02:37 CEST 2009


wesley mathew wrote:
> Hello All
>
> I have some problem for installing  XML_2.6-0.tar . I am working in widows
> and R version is  R-2.9.1
>    >*install.packages("XML")*
> After selecting a CRAN mirror
> **
> *Error :-* Warning: unable to access index for repository
> http://cran.pt.r-project.org/bin/windows/contrib/2.9
> Warning: unable to access index for repository
> http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.9
> Warning messages:
> 1: In open.connection(con, "r") :
>   unable to connect to 'cran.r-project.org' on port 80.
> 2: In getDependencies(pkgs, dependencies, available, lib) :
>   package ‘XML’ is not available
> **
>   
Hi,

Sounds like either:

- The mirror is broken, try a few others
- You are behind a proxy server, configure you machine to use the proxy 
server
>   >*install.packages( "c:/program files/R/XML_2.6-0.tar.gz", type="source",
> repos=NULL)*
> *Error  :-*  'sh' is not recognized as an internal or external command,
> operable program or batch file.
>   
This doesn't work in windows if you have not installed the Rtools 
(http://www.murdoch-sutherland.com/Rtools/). Try to install those first, 
or download and install the windows binary version.

cheers,
Paul
> Thanks in advance for your help
>
> Kind Regards
>
>
>   
> ------------------------------------------------------------------------
>
> ______________________________________________
> 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.
>   


-- 
Drs. Paul Hiemstra
Department of Physical Geography
Faculty of Geosciences
University of Utrecht
Heidelberglaan 2
P.O. Box 80.115
3508 TC Utrecht
Phone:  +3130 274 3113 Mon-Tue
Phone:  +3130 253 5773 Wed-Fri
http://intamap.geo.uu.nl/~paul




More information about the R-help mailing list