[R] snow::makeCluster on Windows hangs
Prof Brian Ripley
ripley at stats.ox.ac.uk
Fri Sep 27 07:31:44 CEST 2013
You failed to mention this about contributed package 'snow' (and a long
obsolete version of R: see the postin guide). That version of R has
package 'parallel' which would be preferred. But it looks like you did
not manually start the workers (and I am not sure why you would want to
do that).
On 27/09/2013 02:26, Jeffrey Flint wrote:
> The command which hangs:
> I'm hoping there is a simple explanation, but I searched on-line and
> nothing jumped out.
>
>> cl <- makeCluster(type="SOCK",c("localhost"),manual=TRUE)
> Manually start worker on localhost with
> C:/PROGRA~1/R/R-214~1.2/bin/Rscript.exe "C:/Program
> Files/R/R-2.14.2/library/snow/RSOCKnode.R" MASTER=localhost PORT=11944
> OUT=/dev/null SNOWLIB=C:/Program Files/R/R-2.14.2/library
> [HANGS]
>> cl <- makeCluster(type="SOCK",c("localhost","localhost"),manual=TRUE)
> Manually start worker on localhost with
> C:/PROGRA~1/R/R-214~1.2/bin/Rscript.exe "C:/Program
> Files/R/R-2.14.2/library/snow/RSOCKnode.R" MASTER=localhost PORT=11944
> OUT=/dev/null SNOWLIB=C:/Program Files/R/R-2.14.2/library
> [HANGS]
>
> The computer:
>
> Dell Inspiron I6400
> with T2300 Dual Core processor
>
>
> The OS:
>
>> version
> _
> platform i386-pc-mingw32
> arch i386
> os mingw32
> system i386, mingw32
> status
> major 2
> minor 14.2
> year 2012
> month 02
> day 29
> svn rev 58522
> language R
> version.string R version 2.14.2 (2012-02-29)
>
> ______________________________________________
> R-help at r-project.org 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.
>
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help
mailing list