[R] problem with makeSOCKcluster depending on R patch version

Uwe Ligges ligges at statistik.tu-dortmund.de
Sat May 14 18:23:33 CEST 2011



On 13.05.2011 14:01, Ulrich Halekoh wrote:
> Dear,
>
> I encountered a problem using the makeSOCKcluster function depending the patched version of
> R-2.13.0 I used.
>
>
> library(snow)
> cl<- makeSOCKcluster(rep("localhost", 2))
>
> this works fine for the R-13.0 patch (2011-04-28 r55678)
> but not for the patch R-13.0 patch (2011-05-10 r55826)


If R-2.13.0 patched is meant: I do not see this with a recent  snapshot 
(2011-05-13 r55886).


Uwe Ligges



>
> In the latter case the command  keeps running. Interrupting the command I get the error message
>
> Error in socketConnection(port = port, server = TRUE, blocking = TRUE,  :
>    cannot open the connection
> In addition: Warning message:
> In socketConnection(port = port, server = TRUE, blocking = TRUE,  :
>    problem in listening on this socket
>
>
> Does work
>
> R version 2.13.0 Patched (2011-04-28 r55678)
> Platform: i386-pc-mingw32/i386 (32-bit)
>
> locale:
> [1] LC_COLLATE=Danish_Denmark.1252  LC_CTYPE=Danish_Denmark.1252
> [3] LC_MONETARY=Danish_Denmark.1252 LC_NUMERIC=C
> [5] LC_TIME=Danish_Denmark.1252
>
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base
>
> other attached packages:
> [1] snow_0.3-3
>
>
> Does not work
>
> R version 2.13.0 Patched (2011-05-10 r55826)
> Platform: i386-pc-mingw32/i386 (32-bit)
>
> locale:
> [1] LC_COLLATE=Danish_Denmark.1252  LC_CTYPE=Danish_Denmark.1252
> [3] LC_MONETARY=Danish_Denmark.1252 LC_NUMERIC=C
> [5] LC_TIME=Danish_Denmark.1252
>
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base
>
> other attached packages:
> [1] snow_0.3-3
>
>
> Kind regards
> Ulrich Halekoh
>
> Associate Professor
>   Aarhus University
> Email: Ulrich.Halekoh at agrsci.dk
>
> ______________________________________________
> 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.



More information about the R-help mailing list