Re: [R-pkg-devel] Multi-threaded C with R's RNG

2015-11-28 Thread Dirk Eddelbuettel
On 28 November 2015 at 13:40, Tom Snijders wrote: | On Fri, 27 Nov 2015 19:48:04 +0100, Guillaume Chapron carnivorescie...@gmail.com wrote: | | | | | Has anyone written a package with a C code that uses R's RNG but in a multi-threaded way (e.g. to paralleliz

Re: [R-pkg-devel] Multi-threaded C with R's RNG

2015-11-27 Thread Dirk Eddelbuettel
On 27 November 2015 at 19:48, Guillaume Chapron wrote: | 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.