[Rcpp-devel] Setting seed using Rcpp
serguei.sokol at gmail.com
Wed Feb 7 16:36:11 CET 2018
Le 07/02/2018 à 16:20, Hmamouche Youssef a écrit :
> 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
which probably has your answer.
More information about the Rcpp-devel