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.
setJobFunction(reg, ids, fun, more.args = list(), reset = TRUE, force = FALSE)
[Registry
]
Registry.
[integer
]
Ids of jobs.
Default is all jobs.
[function
]
Replacement function.
[list
]
A list of other arguments passed to fun
.
Default is empty list.
[logical(1)
]
Reset job status via resetJobs
.
Default is TRUE
.
[logical(1)
]
See resetJobs
.
Default is FALSE
.
Nothing.
Other debug:
debugMulticore()
,
debugSSH()
,
getErrorMessages()
,
getJobInfo()
,
getLogFiles()
,
grepLogs()
,
killJobs()
,
resetJobs()
,
showLog()
,
testJob()