View source: R/batchtools_multicore.R
| BatchtoolsMulticoreFutureBackend | R Documentation |
A batchtools multicore future is an asynchronous multiprocess
future that will be evaluated in a background R session.
We highly recommend using future::multisession
(sic!) futures of the future package instead of
multicore batchtools futures.
BatchtoolsMulticoreFutureBackend(
workers = availableCores(constraints = "multicore"),
fs.latency = 0,
delete = getOption("future.batchtools.delete", "on-success"),
...
)
workers |
The number of multicore processes to be available for concurrent batchtools multicore futures. |
fs.latency |
[ |
delete |
Controls if and when the batchtools job registry folder is
deleted.
If |
... |
Additional arguments passed
to |
Batchtools multicore futures rely on the batchtools backend set
up by batchtools::makeClusterFunctionsMulticore().
The batchtools multicore backend only works on operating systems
supporting the ps command-line tool, e.g. Linux and macOS.
An object of class BatchtoolsMulticoreFuture.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.