[R-pkg-devel] Multi-threaded C with R's RNG
Hello, Has anyone written a package with a C code that uses R's RNG but in a multi-threaded way (e.g. to parallelize Monte Carlo simulations)? I do not have the knowledge to figure out myself how to solved this and would need to see an example. Thanks! Guillaume -- Guillaume Chapron, PhD Associate Professor Grims? Wildlife Research Station Swedish University of Agricultural Sciences SE - 73091 Riddarhyttan, Sweden http://www.carnivore.science/ Twitter @CarnivoreSci