Description Usage Arguments Details Value See Also
Shorthand wrapper for submitting slurm job arrays using
slurm_apply
1 2 3 4 5 6 7 8 9 10 11 12 |
f |
A function that accepts one or many single values as parameters and may return any type of R object. |
params |
A data frame of parameter values to apply |
jobname |
The name of the Slurm job; if |
mem |
integer of length 1, how much memory to allocate to each job in bytes |
maxJobs |
integer of length 1, what is the maximum jobs to run at one time? |
cpu |
integer of length 1, how many cores for each job? |
add_objects |
A character vector containing the name of R objects to be
saved in a .RData file and loaded on each cluster node prior to calling
|
pkgs |
A character vector containing the names of packages that must
be loaded on each cluster node. By default, it includes all packages
loaded by the user when |
submit |
Whether or not to submit the job to the cluster with
|
libPaths |
A character vector describing the location of additional R
library trees to search through, or NULL. The default value of NULL
corresponds to libraries returned by |
Submits a slurm array with a job for each row in params. See
slurm_apply
for more details.
A slurm_job
object containing the jobname
and the
number of nodes
effectively used.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.