where is your sample code asked for in the Posting Guide? --------------------------------------------------------------------------- Jeff Newmiller The ..... ..... Go Live... DCN:<[email protected]> Basics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar/Batteries O.O#. #.O#. with /Software/Embedded Controllers) .OO#. .OO#. rocks...1k --------------------------------------------------------------------------- Sent from my phone. Please excuse my brevity.
Tjun Kiat Teo <[email protected]> wrote: >I am using the package Multicore/Parallel to do importance sampling. I >have >5 cores on my computer. And I have >let's say 10 000 particles to generate. What I did was to send 5 >particles >in each time, calling the package parallel. Which means in all I am >calling >the parallel command 2000 times. >What happens is in the end somewhere along the way I end up with the >error >message error in fork unable to create a pipe. Would it be better for >me to >call the parallel once only but each time send in 2000 particles in >each >parallel process. > > [[alternative HTML version deleted]] > >______________________________________________ >[email protected] mailing list >https://stat.ethz.ch/mailman/listinfo/r-help >PLEASE do read the posting guide >http://www.R-project.org/posting-guide.html >and provide commented, minimal, self-contained, reproducible code. ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

