Learn R Programming

pulsar (version 0.3.11)

findTemplateFile: find template file

Description

Find a config file from batchtools or default file from pulsar

Usage

findTemplateFile(name)

Arguments

name

name of default template or path to template file.

Details

See the batchtools functions batchtools::findTemplateFile, batchtools::makeClusterFunctionsTORQUE, batchtools::makeClusterFunctionsSGE, etc, to employ batchtools' default lookup scheme for template files. Supply the output of this function to the template argument to override batchtools' default.

In this case we look for "[name].tmpl" in the pulsar installation directory in the subfolder "templates".

See Also

findConfFile

Examples

Run this code
 if (FALSE) {
 cluster.functions = batchtools::makeClusterFunctionsTORQUE(
                     template=pulsar::findTemplateFile('simpletorque'))
 }

Run the code above in your browser using DataLab