View source: R/batchtools_config_template.R
findConfFile | R Documentation |
Find a default config file. First calls batchtools::findConfFile
and then find a pulsar default.
findConfFile(name = "")
name |
name of default config or path to config file. |
See the batchtools functions batchtools::findConfFile
and batchtools::makeRegistry
. When calling batch.pulsar
, we attempt to use batchtool's default lookup for a config file before calling pulsar::findConfFile
.
For clusters with a queuing submission system, a template file, for
defining worker node resources and executing the batch R code, will need to
be defined somewhere on the system. See findTemplateFile
.
findTemplateFile
## Default config file provided by pulsar runs code in interactive mode
## This is for testing purposes and executes serially.
findConfFile()
## Use the parallel package
## slower than providing the 'ncores' argument to pulsar function, due to
## the overhead of creating the batchtools registry.
findConfFile('parallel')
## Use the snow package to register/execute batch jobs on socket clusters.
findConfFile('snow')
## Use a TORQUE / PBS queing system. Requires brew template file.
findConfFile('torque')
findTemplateFile('simpletorque')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.