Le 07/02/2018 à 16:20, Hmamouche Youssef a écrit :
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?
If you try "rcpp random number generation" in a search engine,
the first line will point to
http://gallery.rcpp.org/articles/random-number-generation/
which probably has your answer.
Best,
Serguei.
_______________________________________________
Rcpp-devel mailing list
[email protected]
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel