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

Commentaires

Posts les plus consultés de ce blog

Standard error from Hessian Matrix... what can be done when problem occurs

stepAIC from package MASS with AICc

Install treemix in ubuntu 20.04