Skip to content
Prev 9882 / 10988 Next

[Rcpp-devel] Setting seed using Rcpp

Hi,

I get a note from R CMD check for an Rcpp package:

  Found ?_srand?, possibly from ?srand?

 Found no calls to: ?R_registerRoutines?, ?R_useDynamicSymbols?


Is there some an  equivalent function for srand from Rcpp, which i can use
it inside c++ code?

Best regards,
Youssef
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20180207/efcd959e/attachment.html>