Install XML packages in MacOSX

In terminal, enter

brew install libxml2

Then enter these 3 lines:

export PKG_CONFIG_PATH="/usr/local/opt/libxml2/lib/pkgconfig"
export CPPFLAGS="-I/usr/local/opt/libxml2/include"
export LDFLAGS="-L/usr/local/opt/libxml2/lib"

You can put these lines in your .profile

Then 
R
install.packages("XML")




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