[Rd] R cmd check and multicore foreach loop

Renaud Gaujoux
Wed, 17 Aug 2011 11:39:34 -0000

I did notice some strange behaviour once, but things were working
without a problem for a while now.
foreach loops and concepts are nice concepts, which I'd like to carry on
using.
Maybe somebody from the foreach-dopar packages could explain why they
have such issues?

Tim do you have concrete examples of the issues you talked with other
developers?

Thank you.

Renaud

On 17/08/2011 12:45, Tim Triche, Jr. wrote:
> yes -- doMC (and doSMP) are kind of bogus and I just use
> multicore::mclapply() to good effect these days.  I checked around
> with other people doing similar things at the Bioconductor developer
> day and pretty much everyone confirmed that doWHATEVER seems to have
> issues, where as multicore itself... doesn't.
>
> Just my $0.02,
>
> --t
>
>
> On Wed, Aug 17, 2011 at 1:45 AM, Renaud Gaujoux
> <renaud@mancala.cbio.uct.ac.za
<mailto:renaud@mancala.cbio.uct.ac.za>>
> wrote:
>
>     Hi,
>
>     in R 2.12.1, R CMD check hangs when building a vignette that uses
>     a foreach loop with the doMC parallel backend.
>     This does not happen in R 2.13.1, nor if I use doSEQ instead of doMC.
>     All versions of multicore, doMC and foreach are the same on both
>     my R installations.
>
>     Has anybody encountered a similar issue?
>
>     Thank you.
>     Renaud
>
>
>
>
>     ###
>     UNIVERSITY OF CAPE TOWN
>     This e-mail is subject to the UCT ICT policies and
>     e-mai...{{dropped:5}}
>
>     ______________________________________________
>     R-devel@r-project.org <mailto:R-devel@r-project.org> mailing list
>     https://stat.ethz.ch/mailman/listinfo/r-devel
>
>
>
>
> --
>
>
>         If people do not believe that mathematics is simple, it is
>         only because they do not realize how complicated life is.
>
> John von Neumann
>
<http://www-groups.dcs.st-and.ac.uk/%7Ehistory/Biographies/Von_Neumann.html>
>



###
UNIVERSITY OF CAPE TOWN

This e-mail is subject to the UCT ICT policies and e-mai...{{dropped:9}}