[R-pkg-devel] Trouble installing XML on Windows 7 (64-bit)
Haigh, Rowan
Rowan.Haigh at dfo-mpo.gc.ca
Thu Dec 14 18:58:58 CET 2017
I maintain a few packages on CRAN, one of which depends on the XML package.
Using the latest R-devel (2017-12-13 r73907), I can install the XML Windows binary from CRAN but I cannot load it:
> require(XML)
Loading required package: XML
Error: package or namespace load failed for 'XML':
package 'XML' was installed by an R version with different internals; it needs to be reinstalled for use with this R version
I tried installing XML from source, but the compilation requires the libxml library.
Following the suggestions of various online users, I've tried putting libxml header files from different sources (www.omegahat.net/RSXML/<http://www.omegahat.net/RSXML/>, https://git.gnome.org/browse/libxml2/) in the R-devel/include/libxml directory, but C compilation fails (not surprisingly).
I'm not a C programmer and would appreciate any help on how to install the R package XML from source on a Windows system.
Thank-you.
Rowan Haigh
--------------------------------------------------------------------------------------------------
Research Biologist, Pacific Biological Station, Nanaimo, BC V9T 6N7
Offshore Section, Aquatic Resources Research & Assessment Division, Fisheries and Oceans Canada
tel. +1 250-363-8718 (IOS Rm 2443), fac simile +1 250-756-7053 (PBS), email rowan.haigh at dfo-mpo.gc.ca<mailto:rowan.haigh at dfo-mpo.gc.ca>
--------------------------------------------------------------------------------------------------
Biologiste de recherche, Station biologique du Pacifique, Nanaimo, C.-B. V9T 6N7
Section extracôtier, Division de la recherche sur les ressources aquatiques et de l'évaluation, Pêches et Océans Canada
tél. +1 250-363-8718 (ISM ch 2443), télécopie +1 250-756-7053 (SBP), courriel rowan.haigh at dfo-mpo.gc.ca<mailto:rowan.haigh at dfo-mpo.gc.ca>
--------------------------------------------------------------------------------------------------
[[alternative HTML version deleted]]
More information about the R-package-devel
mailing list