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
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.
The text was updated successfully, but these errors were encountered:
Good Day
I am using
RcppParallel
and theshuffle
function ofRcppArmadillo
to shufflevec
, But the result is not repeatable even I used theset.seed
ofR
or thewithr::with_seed
orarma::set_seed
in theC++
codes. To be reproducible, is there a function likeset.seed
ofR
base to do this? Thank you.The text was updated successfully, but these errors were encountered: