[R-pkg-devel] Trouble installing XML on Windows 7 (64-bit)
Those packages were built for R-release. There are no appropriate
windows binaries for R-devel on CRAN currently. You need to
compile/install the source package:
install.packages("XML", type = "source")
Gabor
On Thu, Dec 14, 2017 at 5:58 PM, Haigh, Rowan <Rowan.Haigh at dfo-mpo.gc.ca> wrote:
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]]
______________________________________________ R-package-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel