View source: R/batchtools_ssh.R
| batchtools_ssh | R Documentation |
A batchtools backend that resolves futures in parallel via background R sessions over SSH
batchtools_ssh(
...,
workers = availableWorkers(),
fs.latency = 65,
delete = getOption("future.batchtools.delete", "on-success"),
registry = list(),
finalize = getOption("future.finalize", TRUE)
)
workers |
(optional) The maximum number of workers the batchtools
backend may use at any time. Interactive and "local" backends can only
process one future at the time ( |
fs.latency |
[ |
delete |
Controls if and when the batchtools job registry folder is
deleted.
If |
registry |
(optional) A named list of settings applied to each
future's batchtools Registry.
This is a more convenient alternative to using argument |
finalize |
If TRUE, a future's batchtools Registry is automatically deleted when the future is garbage collected, otherwise not. |
The batchtools_ssh backend uses the batchtools backend set
up by batchtools::makeClusterFunctionsSSH(), which requires
system commands ssh and ps as available on Linux and macOS.
An alternative to batchtools_ssh is to use
cluster futures of the future
package with a single local background session, i.e.
plan(cluster, workers = c("localhost")).
Nothing.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.