Skip to content
Prev 136 / 2152 Next

snow, socket cluster: problem with path to rscript

luke at stat.uiowa.edu a ?crit :
Ok! You pointed out the right error Steve, thanks!


So it is now working for the local computer with. However, when trying 
to use the external computer, it seems to be working but nothing happens 
after he asked for the last password...


 > library(snow)
 > host210 <- list(host = "mat at 192.100.100.210", rscript = 
"/usr/bin/Rscript")
 > host212 <-list(host = "dsge at 192.100.100.212", rscript = 
"/usr/lib64/R/bin/Rscript")
 >
 > cl2 <- makeCluster(list(host212, host212), type = "SOCK")
dsge at 192.100.100.212's password:
dsge at 192.100.100.212's password:
 > stopCluster(cl2)
 > host210 <- list(host = "mat at 192.100.100.210", rscript = 
"/usr/bin/Rscript")
 > host212 <-list(host = "dsge at 192.100.100.212", rscript = 
"/usr/lib64/R/bin/Rscript")
 >
 > cl2 <- makeCluster(list(host212, host212, host210), type = "SOCK")
dsge at 192.100.100.212's password:
dsge at 192.100.100.212's password:
mat at 192.100.100.210's password:
#and then nothing...

(I did a ssh mat at 192.100.100.210 before).

What should I check to understand this problem? On the local (212), or 
on the external (210)?

Thanks a lot!!