Skip to content
Prev 12022 / 15075 Next

Problem with Rcpp on R-3.4 beta (r72492)

Berend,
Either
export PATH=/usr/local/clang4/bin:$PATH
for general purpose of for R specifically in ~/.R/Makevars
CC=/usr/local/clang4/bin/clang
CXX=/usr/local/clang4/bin/clang++

The main difference is that clang 4.0.0 supports C++17 features and OpenMP -- neither of which is supported by Apple clang.
There was just one fix - the path in Rcpp (and other C++ packages) should not have been /usr/local - it should point to libc++ in R - that has been fixed and should be available in the next nightly build. The libc++ was mistakenly not copied.
No, please, keep checking the nightlies from

http://r.research.att.com

the release will be exactly the same, so we have to make sure we'll find all the bugs *before* there release so please keep testing and reporting.

Thanks,
Simon