Learn R Programming

batchtools (version 0.9.0)

makeClusterFunctionsSSH: ClusterFunctions for Remote SSH Execution

Description

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.

Usage

makeClusterFunctionsSSH(workers)

Arguments

workers
[list of Worker] List of Workers as constructed with Worker.

Value

[ClusterFunctions].

See Also

Other ClusterFunctions: makeClusterFunctionsDocker, makeClusterFunctionsInteractive, makeClusterFunctionsLSF, makeClusterFunctionsMulticore, makeClusterFunctionsOpenLava, makeClusterFunctionsSGE, makeClusterFunctionsSlurm, makeClusterFunctionsSocket, makeClusterFunctionsTorque, makeClusterFunctions

Examples

Run this code
## Not run: ------------------------------------
# # cluster functions for multicore execution on the local machine
# makeClusterFunctionsSSH(list(Worker$new("localhost", ncpus = 2)))
## ---------------------------------------------

Run the code above in your browser using DataLab