[R] how to in XML on windows XP for R 1.9.1
Prof Brian Ripley
ripley at stats.ox.ac.uk
Tue Aug 24 18:31:18 CEST 2004
On Tue, 24 Aug 2004 szhan at uoguelph.ca wrote:
> Hello, Uwe,
> Thank you all for your reply!
> I installed binary packages XML_0.97.0.zip by "Install package(s) from local zip
> file" and followed instruction in the doc:
That's not the instructions in the README!
> you will have to add the XML/libs
> directory to your path. Putting them into the
> directory which contains Rgui.exe and Rterm.exe for this
> version of R is probably best.
> I then put add the XML/libs directory to director rw1091/bin, but it still gave
> messagae like this:
What it actually says is
but to use it in R, you will have to add the XML/libs
directory to your path or copy the files
libxml2.dll zlib.dll iconv.dll
to a directory in your path. Putting them into the
directory which contains Rgui.exe and Rterm.exe for this
version of R is probably best.
and there are no such files in the distribution.
> > library("XML")
> Error in dyn.load(x, as.logical(local), as.logical(now)) :
> unable to load shared library
> "C:/PROGRA~1/R/rw1091/library/XML/libs/XML.dll":
> LoadLibrary failure: The specified module could not be found.
> Error in library("XML") : package/namespace load failed
> What should I do now?
Asking Uwe questions about a package his ReadMe explicitly says he does
not support is unfair.
Since XML_0.97-0 is not a CRAN package, please ask its author
directly. It depends on a libxml2.dll (etc) he has not included.
[This is part of the reason why I statically link libxml into the port of
XML that I make available. Another is that with a dynamic link the
internet connection possibilities do not work correctly, at least when I
build it.
Another issue is that you need different builds for different versions of
R, and www.omegahat.org/RSXML does not say which it was built for.]
> Josh
> Quoting Uwe Ligges <ligges at statistik.uni-dortmund.de>:
>
> > Prof Brian Ripley wrote:
> > > On Tue, 24 Aug 2004 szhan at uoguelph.ca wrote:
> > >
> > >
> > >>I tried two ways to install Package:XML on windows xp for R 1.9.1, all
> > failed.
> > >
> > >
> > > But you did not read the ReadMe's.
> > >
> > > Do read the ReadMe at http://cran.r-project.org/bin/windows/contrib/1.9.
> >
> > Additionally, after you have got the right package, read the docs how to
> > install binary packages from the local hard disc.
> >
> > Uwe Ligges
> >
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>
>
--
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