When programming in R, I've used the multicore package a few times. However, I've never seen a statement about how it handles it's random numbers. When I use openMP with C, I'm careful to use a proper parallel RNG, but with R I've assume that something sensible happens. Can anyone confirm that something sensible does happen?
Example
From the documentation, we have
x <- foreach(icount(1000), .combine = "+") %do% rnorm(4)
How are the rnorm
`s generated?