[Rd] OpenMP and random number generation

Mathieu Ribatet mathieu.ribatet at math.univ-montp2.fr
Wed Feb 22 09:23:20 CET 2012

Dear all,

Now that R has OpenMP facilities, I'm trying to use it for my own package but I'm still wondering if it is safe to use random number generation within a OpenMP block. I looked at the R writing extension document  both on the OpenMP and Random number generation but didn't find any information about that.

Could someone tell me if it is safe or not please ?


I3M, UMR CNRS 5149
Universite Montpellier II,
4 place Eugene Bataillon
34095 Montpellier cedex 5   France
Tel: + 33 (0)4 67 14 41 98

More information about the R-devel mailing list