[R-sig-hpc] R SOCKet-based cluster
fgnu32 at yahoo.com
Tue May 28 09:48:28 CEST 2013
[I posted this to SO (http://stackoverflow.com/q/16786136/1414455), but am also posting this here.]
I am trying to establish a SOCKet cluster using the R `snow` package.
I have access to 5 machines with the IP addresses:
[As in this question], I have successfully copied the public key over to those machines so that password-less authentication works. From within R, this works
for (i in seq.int(5)) system(print(paste('ssh ', 'root at xxx.xxx.xx.x', i, ' date',
sep = '')))
However, this hangs.
sockCluster = makeSOCKcluster(c('root at xxx.xxx.xx.x1',
'root at xxx.xxx.xx.x2',
'root at xxx.xxx.xx.x3',
'root at xxx.xxx.xx.x4',
'root at xxx.xxx.xx.x5'))
What am I missing?
More information about the R-sig-hpc