Good Day
I am using RcppParallel and the shuffle function of RcppArmadillo to shuffle vec, But the result is not repeatable even I used the set.seed of R or the withr::with_seed or arma::set_seed in the C++ codes. To be reproducible, is there a function like set.seed of R base to do this? Thank you.
Good Day
I am using
RcppParalleland theshufflefunction ofRcppArmadilloto shufflevec, But the result is not repeatable even I used theset.seedofRor thewithr::with_seedorarma::set_seedin theC++codes. To be reproducible, is there a function likeset.seedofRbase to do this? Thank you.