[Rcpp-devel] C++11 in Windows R package
Dirk Eddelbuettel
edd at debian.org
Mon Jun 9 21:02:48 CEST 2014
On 9 June 2014 at 17:45, Matteo Fasiolo wrote:
| Hi Dirk
|
|
|
| Saw that -- mvnfast looks quite interesting with OpenMP-based RNG!
| |
|
|
| Yes, using a single header parallel RNG, which is compatible with C++11 random
| distributions made
| all the work much easier! The C++11 part is creating lots of problems, though.
I owe you a follow-up (maybe later today) about how/where it built for me
with clang. This seems to have to do with the 'C++' library one uses with
clang/llvm; it seems on Debian it comes from g++-4.8 which works.
Dirk
| Yes. For the two (smaller) packages (RcppCNPy, and RcppBDT) where I use
| C++11 features I have
|
| Depends: R (>= 3.1.0)
|
| and you should too as C++11 does need R 3.1.0 or later.
|
|
|
|
| Thanks, Prof. Ripley pointed at the same solution.
|
| Matteo
--
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
More information about the Rcpp-devel
mailing list