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")
)
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 |
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.