michael watson (IAH-C)
2005-Jan-10 14:41 UTC
[R] Installation of XML library can't find libxml2.dll
Sorry to ask a (probably) dumb question, but I am trying to install XML package on Windows XP, R 2.0.1, and I get the error: "This application has failed to start because libxml2.dll was not found. Re-installing the application may fix this problem"> library(XML)Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to load shared library "C:/PROGRA~1/R/rw2001/library/XML/libs/XML.dll": LoadLibrary failure: The specified module could not be found. Error in library(XML) : package/namespace load failed for 'XML' Now, having read the website at http://www.omegahat.org/RSXML/, I find that the package: "uses libxml2, by default and only libxml(version 1) if libxml2 is not present " And here's my dumb question - what is libxml2 in a windows context and where do I get it from? Thanks Mick
Prof Brian Ripley
2005-Jan-10 16:28 UTC
[R] Installation of XML library can't find libxml2.dll
Save yourself the problem and get a precompile package from http://www.stats.ox.ac.uk/pub/RWin On Mon, 10 Jan 2005, michael watson (IAH-C) wrote:> Sorry to ask a (probably) dumb question, but I am trying to install XML > package on Windows XP, R 2.0.1, and I get the error: > > "This application has failed to start because libxml2.dll was not found. > Re-installing the application may fix this problem" > >> library(XML) > Error in dyn.load(x, as.logical(local), as.logical(now)) : > unable to load shared library > "C:/PROGRA~1/R/rw2001/library/XML/libs/XML.dll": > LoadLibrary failure: The specified module could not be found. > Error in library(XML) : package/namespace load failed for 'XML' > > Now, having read the website at http://www.omegahat.org/RSXML/, I find > that the package: > > "uses libxml2, by default and only libxml(version 1) if libxml2 is not > present " > > And here's my dumb question - what is libxml2 in a windows context and > where do I get it from?See http://www.xmlsoft.org/downloads.html Note: this is not the list for Omegahat questions. -- 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
My reading of this is that you may have installed the 'Windows binary' package from the Omegahat site - if so, it would appear that this is for versions of R < 2.0 . Further to the pointer to the reply by Prof Ripley, hisa link provides the correct Windows binary for R >= 2.0. Regards Mike -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of michael watson (IAH-C) Sent: 10 January 2005 14:41 To: R list Subject: [R] Installation of XML library can't find libxml2.dll Sorry to ask a (probably) dumb question, but I am trying to install XML package on Windows XP, R 2.0.1, and I get the error: "This application has failed to start because libxml2.dll was not found. Re-installing the application may fix this problem"> library(XML)Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to load shared library "C:/PROGRA~1/R/rw2001/library/XML/libs/XML.dll": LoadLibrary failure: The specified module could not be found. Error in library(XML) : package/namespace load failed for 'XML' Now, having read the website at http://www.omegahat.org/RSXML/, I find that the package: "uses libxml2, by default and only libxml(version 1) if libxml2 is not present " And here's my dumb question - what is libxml2 in a windows context and where do I get it from? Thanks Mick ______________________________________________ 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
michael watson (IAH-C)
2005-Jan-11 09:20 UTC
[R] Installation of XML library can't find libxml2.dll
Thank you for all the responses; in fact, it was all solved by using Bioconductor library(reposTools) install.packages2("XML") However, I am still having heaps of trouble getting SSOAP, Rcurl and KEGGSOAP to use my proxy server.... Mick -----Original Message----- From: dr mike [mailto:dr.mike at ntlworld.com] Sent: 10 January 2005 17:47 To: michael watson (IAH-C) Cc: R-help at stat.math.ethz.ch Subject: RE: [R] Installation of XML library can't find libxml2.dll My reading of this is that you may have installed the 'Windows binary' package from the Omegahat site - if so, it would appear that this is for versions of R < 2.0 . Further to the pointer to the reply by Prof Ripley, hisa link provides the correct Windows binary for R >= 2.0. Regards Mike -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of michael watson (IAH-C) Sent: 10 January 2005 14:41 To: R list Subject: [R] Installation of XML library can't find libxml2.dll Sorry to ask a (probably) dumb question, but I am trying to install XML package on Windows XP, R 2.0.1, and I get the error: "This application has failed to start because libxml2.dll was not found. Re-installing the application may fix this problem"> library(XML)Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to load shared library "C:/PROGRA~1/R/rw2001/library/XML/libs/XML.dll": LoadLibrary failure: The specified module could not be found. Error in library(XML) : package/namespace load failed for 'XML' Now, having read the website at http://www.omegahat.org/RSXML/, I find that the package: "uses libxml2, by default and only libxml(version 1) if libxml2 is not present " And here's my dumb question - what is libxml2 in a windows context and where do I get it from? Thanks Mick ______________________________________________ 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