c++11: error: ‘random_device’ is not a member of ‘std’ error: ‘mt19937’ is not a member of ‘std’
Rcpp: error: ‘random_device’ is not a member of ‘std’ error: ‘mt19937’ is not a member of ‘std’需要支持c++11需要支持c++11需要在r里面执行下面这句:Sys.setenv(“PKG_CXXFLAGS”="-std=c++11")