[Rd] mcparallel / mccollect

2016-08-30 Thread Michel Lang
Hi there, I've tried to implement an asynchronous job scheduler using parallel::mcparallel() and parallel::mccollect(..., wait=FALSE). My goal was to send processes to the background, leaving the R session open for interactive use while all jobs store their results on the file system. To keep trac

Re: [Rd] mcparallel / mccollect

2016-08-30 Thread Simon Urbanek
Michel, thanks, you're right, that the list should have names. Your patch has the match() part backwards, but is otherwise the right idea. I have committed a variant in R-devel and will back-port later. Thanks, Simon > On Aug 30, 2016, at 8:43 AM, Michel Lang wrote: > > Hi there, > > I've

[Rd] A bug in the R Mersenne Twister (RNG) code?

2016-08-30 Thread Mark Roberts
Whomever, I recently sent the "bug report" below tor-c...@r-project.org and have just been asked to instead submit it to you. Although I am basically not an R user, I have installed version 3.3.1 and am also the author of a statistics program written in Visual Basic that contains a component w

Re: [Rd] A bug in the R Mersenne Twister (RNG) code?

2016-08-30 Thread William Dunlap via R-devel
Try comparing the streams for when the 625-integer versions of the seeds are identical. (R's seed is 626 integers: omit the first value, which indicates which random number generator the seed is for.). I find the the MKL Mersenne Twister results match R's (with occassional differences in the last

Re: [Rd] A bug in the R Mersenne Twister (RNG) code?

2016-08-30 Thread Duncan Murdoch
I don't see evidence of a bug. There have been several versions of the MT; we may be using a different version than you are. Ours is the 1999/10/28 version; the web page you cite uses one from 2002. Perhaps the newer version fixes some problems, and then it would be worth considering a chang