Re: [R] Problem installing libxml2 under Homebrew

2018-02-19 Thread Jeroen Ooms
You probably have a malconfigured homebrew installation of R. On MacOS it is recommended to use the CRAN version of R https://cran.r-project.org/bin/macosx/. The homebrew version depends on gcc compilers and does not support cran binary packages. If you really want to use the homebrew R try ruling

Re: [R] Problem installing libxml2 under Homebrew

2018-02-17 Thread Hadley Wickham
Is there a reason that you can't use the binary provided by CRAN? That's the easiest way to get xml2. Hadley On Sat, Feb 17, 2018 at 1:53 AM, Peter Meilstrup wrote: > i am trying to install xml2 from CRAN, and it is throwing an error > that it cannot find the libxml2 library configuration. > > Th

[R] Problem installing libxml2 under Homebrew

2018-02-16 Thread Peter Meilstrup
i am trying to install xml2 from CRAN, and it is throwing an error that it cannot find the libxml2 library configuration. The thing is that pkg-config seems to be set up correctly: $ echo $PKG_CONFIG_PATH :/usr/local/opt/libxml2/lib/pkgconfig:/usr/local/opt/libxml2/lib/pkgconfig $ pkg-config --c