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
Enregistrer un commentaire