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 ** >*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. Thanks in advance for your help Kind Regards -- Wesley [[alternative HTML version deleted]]
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 > **Looks like you have some network problem and cannot access the repositories. Ask you local administrator for help.> >*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.It is not straightforward nor very easy to install XML from sources. You'd need a) the tools for compiling packages from source and even then you'd need b) to have additional software such as the XML sources and need to adapt some files in the XML package. Uwe Ligges> 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.
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
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 > >Unfortunately, I think there are some problems with CRAN being able to build the XML package for Windows, at least the page: http://cran.r-project.org/web/packages/XML/index.html Lists it as unavailable. However, I know I have installed it on a Windows machine at the university using install.packages()-- R may be set up to pull from some additional repository there. I'll check the next time I'm in the lab. -Charlie ----- Charlie Sharpsteen Undergraduate Environmental Resources Engineering Humboldt State University -- View this message in context: http://www.nabble.com/installation-problem-tp25438411p25439211.html Sent from the R help mailing list archive at Nabble.com.