View source: R/shell-scripts.R
makeJobScripts | R Documentation |
This function uses a whisker (aka Mustache) template file to create one or more job scripts.
makeJobScripts(
template,
jobScripts,
processes = 1,
scriptPath = "rendered-scripts",
...
)
template |
Path to the script whisker template. |
jobScripts |
The file names for the job scripts to create through templating. Should match the length of the longest variable argument. |
processes |
The number of processes launched jobs are sharing This makes a 'threads' variable available during template rendering, which doles out an even number of threads to each job based on the total process count. |
scriptPath |
Path to the local folder where rendered scripts should be saved. |
... |
A variable number of other arguments that are available as variable bindings when the template is rendered. Values not of length 1 should all be of the same length (the number of job scripts being created). |
A List with one named element (jobs
) containing a vector of
job script file names. Passed to makeLaunchScript
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.