Description Usage Arguments Value
Creates a callback handler function that can be added via addTaskCallback(). These functions run at the end of each completed R statement. This particular handler watches for the completion of the target job, which is created via mcparallel()
1 2 | jobCompleteSelfDestructingHandler(targetJob, targetValue, verbose,
targetEnvironment)
|
targetJob |
(character) Name of the mcparallel job variable that is waiting for a result |
targetValue |
A character element indicating the variable that the result of that job should be assigned to targetEnvironment |
verbose |
A boolean element; if TRUE the completion of the fork expr will be accompanied by a message |
targetEnvironment |
The environment in which you want targetValue to be created |
callback handler function
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.