I would like to install a package (
xgboost ) that is built with OpenMP enabled on OSX (Mavericks). I have already installed gcc49 via MacPorts, because the clang compiler does not support OpenMP. The gcc is recognised in the terminal and "gcc --version" command prints correct compiler information. I would like to know if there is a way to "convince" devtools (i.e install_github() function ) to use this compiler instead of clang for building the package? Or if this is not practical, how can I build the xgboost library manually and then pack it into R package.
Thanks!