Skip to content
Prev 3114 / 10988 Next

[Rcpp-devel] RInside constructor calls srand

Hi Dirk:
On Sun, Nov 6, 2011 at 10:22 AM, Dirk Eddelbuettel <edd at debian.org> wrote:
Yes, this makes my program behave as I want. My main point is that the
srand call in the RInside constructor is sneaky and users like me
won't be aware of it. Maybe it would be better to force the user to
initialize the random seed manually?

Joseph