[Bioc-devel] parallel support for Windows and RStudio

2013-03-21 Thread Manuela Benary
Hi,

we are currently developing a package, which has parallel (mclapply)
support for some of the function. Because forking is not supported in
Windows and when using RStudio, the parallel functions fail. The easiest
solution would be to fall back on serial processing by setting the number
of cores to 1, but is a bit unsatisfying.

Is there an easy way for parallelisation under Windows/RStudio ? Do you
have any suggestions?

Best,
Manuela

___
Bioc-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/bioc-devel


Re: [Bioc-devel] parallel support for Windows and RStudio

2013-03-21 Thread Dan Tenenbaum
On Thu, Mar 21, 2013 at 1:33 AM, Manuela Benary
 wrote:
> Hi,
>
> we are currently developing a package, which has parallel (mclapply)
> support for some of the function. Because forking is not supported in
> Windows and when using RStudio, the parallel functions fail.

On which platform does RStudio not support mclapply? It should work in
all OSes except for Windows.

> The easiest
> solution would be to fall back on serial processing by setting the number
> of cores to 1, but is a bit unsatisfying.
>
> Is there an easy way for parallelisation under Windows/RStudio ? Do you
> have any suggestions?
>

The parallel package also supports socket clusters which will work on windows.
Look at ?makePSOCKcluster for more information.

Dan



> Best,
> Manuela
>
> ___
> Bioc-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/bioc-devel

___
Bioc-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/bioc-devel