setJobFunction: Sets the job function for already existing jobs.

Description Usage Arguments Value See Also

Description

Use this function only as last measure when there is a bug in a part of your job function and you have already computed a large number of (unaffected) results. This function allows you to fix the error and to associate the jobs with the corrected function.

Note that by default the computational state of the affected jobs is also reset.

Usage

1
2
setJobFunction(reg, ids, fun, more.args = list(), reset = TRUE,
  force = FALSE)

Arguments

reg

[Registry]
Registry.

ids

[integer]
Ids of jobs. Default is all jobs.

fun

[function]
Replacement function.

more.args

[list]
A list of other arguments passed to fun. Default is empty list.

reset

[logical(1)]
Reset job status via resetJobs. Default is TRUE.

force

[logical(1)]
See resetJobs. Default is FALSE.

Value

Nothing.

See Also

Other debug: debugMulticore; debugSSH; getErrorMessages; getJobInfo; getLogFiles; grepLogs; killJobs; resetJobs; showLog; testJob



Search within the BatchJobs package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.