You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use the RcppArmadillo I must add the "Sys.setenv("PKG_CXXFLAGS"="-std=c++11")" in the .cpp script before I compiled, and I could not just add the " // [[Rcpp::plugins(cpp11)]]" in the script to enable C++11. Here is the sessionInfo
sessionInfo()
R version 3.1.1 (2014-07-10)
Platform: x86_64-apple-darwin10.8.0 (64-bit)
When I use the RcppArmadillo I must add the "Sys.setenv("PKG_CXXFLAGS"="-std=c++11")" in the .cpp script before I compiled, and I could not just add the " // [[Rcpp::plugins(cpp11)]]" in the script to enable C++11. Here is the sessionInfo
locale:
[1] zh_CN.UTF-8/zh_CN.UTF-8/zh_CN.UTF-8/C/zh_CN.UTF-8/zh_CN.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets compiler methods
[8] base
other attached packages:
[1] dplyr_0.2 reshape2_1.4 Rcpp_0.11.3 plyr_1.8.1 pipeR_0.3-1
loaded via a namespace (and not attached):
[1] assertthat_0.1 parallel_3.1.1 stringr_0.6.2 tools_3.1.1
I wonder how could I just add the "// [[Rcpp::plugins(cpp11)]]" in the script or when I using the inline package?
The text was updated successfully, but these errors were encountered: