[R] problem with makeSOCKcluster depending on R patch version

From: Ulrich Halekoh <Ulrich.Halekoh_at_agrsci.dk>
Date: Fri, 13 May 2011 14:01:25 +0200


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)

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. Received on Fri 13 May 2011 - 12:04:39 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 15 May 2011 - 13:40:07 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive