When using - arma_rng::set_seed_random(),
to initialize the RNG in RcppArmadillo, the following warning is generated,

When called from R, the RNG seed has to be set at the R level via set.seed()


This warning seems appropriate when using set_seed(), but not
set_seed_random() since setting a random seed does not represent a mistaken
attempt to fix an Armadillo random seed at the R level.

Thanks for your comment,

Terrance

-- 
Thank you, Terrance Savitsky
_______________________________________________
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to