View source: R/clusterFunctionsSSH.R
makeClusterFunctionsSSH | R Documentation |
Jobs are spawned by starting multiple R sessions via Rscript
over SSH.
If the hostname of the Worker
equals “localhost”,
Rscript
is called directly so that you do not need to have an SSH client installed.
makeClusterFunctionsSSH(workers, fs.latency = 65)
workers |
[ |
fs.latency |
[ |
[ClusterFunctions
].
If you use a custom “.ssh/config” file, make sure your ProxyCommand passes ‘-q’ to ssh, otherwise each output will end with the message “Killed by signal 1” and this will break the communication with the nodes.
Other ClusterFunctions:
makeClusterFunctionsDocker()
,
makeClusterFunctionsInteractive()
,
makeClusterFunctionsLSF()
,
makeClusterFunctionsMulticore()
,
makeClusterFunctionsOpenLava()
,
makeClusterFunctionsSGE()
,
makeClusterFunctionsSlurm()
,
makeClusterFunctionsSocket()
,
makeClusterFunctionsTORQUE()
,
makeClusterFunctions()
## Not run:
# cluster functions for multicore execution on the local machine
makeClusterFunctionsSSH(list(Worker$new("localhost", ncpus = 2)))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.