Re: [Rd] issue with parallel package

2014-05-21 Thread Simon Urbanek
On May 21, 2014, at 1:17 PM, Josef Leydold wrote: > Dear maintainers of the parallel package, > > I ran into an issue with the parallel package in R-3.1.0. > > The following code prints the message "NULL!" quite a lot. > > library(parallel) > for (n in 1:1000) { > p <- mcparallel(sqrt(n

Re: [Rd] issue with parallel package

2014-05-21 Thread Simon Urbanek
On May 21, 2014, at 1:47 PM, Jeroen Ooms wrote: > On Wed, May 21, 2014 at 10:17 AM, Josef Leydold > wrote: > I ran into an issue with the parallel package in R-3.1.0. > > I have been experiencing a very similar issue within the RAppArmor package. > Here is a smaller example: > > library(par

Re: [Rd] issue with parallel package

2014-05-21 Thread Jeroen Ooms
On Wed, May 21, 2014 at 10:17 AM, Josef Leydold wrote: > I ran into an issue with the parallel package in R-3.1.0. > I have been experiencing a very similar issue within the RAppArmor package. Here is a smaller example: library(parallel) for (n in 1:5) { p <- mcparallel(sqrt(n)) #Sys.sleep(0

[Rd] issue with parallel package

2014-05-21 Thread Josef Leydold
Dear maintainers of the parallel package, I ran into an issue with the parallel package in R-3.1.0. The following code prints the message "NULL!" quite a lot. library(parallel) for (n in 1:1000) { p <- mcparallel(sqrt(n)) res <- mccollect(p, wait=FALSE, timeout=1000) mccolle