[Rcpp-devel] Installation tutorial for Rcpp, C++11, and 64-bit Windows
Dirk Eddelbuettel
edd at debian.org
Sun Nov 24 15:07:34 CET 2013
Hi Brian,
On 23 November 2013 at 21:38, Brian Templeton wrote:
| I ended up spending a bit of time trying to get Rcpp to work for C++11 standard code in Windows. (I already had code working on Linux with Rcpp, but needed to get it to work with Windows as well.) I figured I'd write up what worked and post it on Rcpp list in case someone else has similar problems:
|
| http://batempleton.wordpress.com/2013/11/22/installing-rcpp-using-c11-on-windows-x64/
Awesome -- thank you very much!
I am hearing through the gravevine that CRAN is also working on getting C++11
sorted out; updating the Windows toolchain is apparently one of the issues.
One minor comment: as a 'does it work yet?' test, we often suggest using the
Rcpp Attributes function evalCpp(). So after setting everything up, and
having loaded the Rcpp package, try something like
evalCpp("2 * M_PI")
evalCpp("std::numeric_limits<double>::max()")
or even just
evalCpp("sqrt(9)")
Cheers, Dirk
--
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com
More information about the Rcpp-devel
mailing list