[Rcpp-devel] RcppArmadillo generates warning with arma_rng::set_seed_random()

terrance savitsky tds151 at gmail.com
Fri Feb 20 19:14:49 CET 2015

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,


Thank you, Terrance Savitsky
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20150220/702a9095/attachment.html>

More information about the Rcpp-devel mailing list