[R] problem with makeSOCKcluster depending on R patch version

Ulrich Halekoh Ulrich.Halekoh at agrsci.dk
Fri May 13 14:01:25 CEST 2011


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



More information about the R-help mailing list