Install xml2 package in MacOSX
In terminal:
brew install libxml2
wget https://cran.r-project.org/src/contrib/xml2_1.2.5.tar.gz
(check the latest version here: https://cran.r-project.org/web/packages/xml2/index.html)
R CMD INSTALL --configure-vars='INCLUDE_DIR=/usr/local/opt/libxml2/include/libxml2 LIB_DIR=/usr/local/opt/libxml2/lib/' ./xml2_1.2.5.tar.gz
brew install libxml2
wget https://cran.r-project.org/src/contrib/xml2_1.2.5.tar.gz
(check the latest version here: https://cran.r-project.org/web/packages/xml2/index.html)
R CMD INSTALL --configure-vars='INCLUDE_DIR=/usr/local/opt/libxml2/include/libxml2 LIB_DIR=/usr/local/opt/libxml2/lib/' ./xml2_1.2.5.tar.gz
Commentaires
Enregistrer un commentaire