Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

cfBrewTemplate

Cluster functions helper: Brew your template into a job description file.


Description

This function is only intended for use in your own cluster functions implementation.

Calls brew silently on your template, any error will lead to an exception. If debug mode is turned on in the configuration, the file is stored at the same place as the corresponding R script in the “jobs”-subdir of your files directory, otherwise in the temp dir via tempfile.

Usage

cfBrewTemplate(conf, template, rscript, extension)

Arguments

conf

[environment]
BatchJobs configuration.

template

[character(1)]
Job desfription template as a char vecrtor, possibly read in via cfReadBrewTemplate.

rscript

[character(1)]
File path to you your corresponding R script for the job.

extension

[character(1)]
Extension for the job description file, e.g. “pbs”.

Value

[character(1)]. File path of result.


BatchJobs

Batch Computing with R

v1.8
BSD_2_clause + file LICENSE
Authors
Bernd Bischl <bernd_bischl@gmx.net>, Michel Lang <michellang@gmail.com>, Henrik Bengtsson <henrikb@braju.com>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.