[R] snow package, socketConnection error, SSH, in Windows 7 x64

Артем Харитонов iron.art at mail.ru
Tue Nov 22 14:42:44 CET 2011

Hi. I have some problems trying to make cluster via  "snow" package  and 
 haven't found a solution for my problem in archives and relative topics.

I installed ssh server using cygwin and set  a password-less SSH Login.
In R session after starting ssh service:

> system("ssh date")
Tue Nov 22 16:22:36 AST 2011

But when I make connection:

> con <- makeSOCKcluster(rep('',2), port = 22, master = '')
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,  :
  port 22 cannot be opened

Firewall is turned off.

My R sesioninfo:
R version 2.14.0 Patched (2006-00-00 r00000)
Platform: x86_64-pc-mingw32/x64 (64-bit)

[1] LC_COLLATE=English_United States.1252 
[2] LC_CTYPE=English_United States.1252   
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C                          
[5] LC_TIME=English_United States.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] snow_0.3-7

More information about the R-help mailing list