Last active
December 7, 2022 13:17
-
-
Save remlapmot/a4a39f691bd38afac217262d9dac6dd8 to your computer and use it in GitHub Desktop.
Install XML package from source on Windows 10 assuming Rtool40 installed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # In Rtools 4.0 run | |
| # pacman -Syu | |
| # pacman -S mingw-w64-{i686,x86_64}-libxml2 | |
| Sys.setenv(LOCAL_CPPFLAGS = "-I/mingw$(WIN)/include/libxml2") | |
| Sys.setenv(LIB_XML = "$(MINGW_PREFIX)") | |
| install.packages("XML") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On an Apple Silicon Mac this is
In a shell
Then in R