jobCompleteSelfDestructingHandler: jobCompleteDestructingHandler

Description Usage Arguments Value

Description

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()

Usage

1
2
jobCompleteSelfDestructingHandler(targetJob, targetValue, verbose,
  targetEnvironment)

Arguments

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

Value

callback handler function


drknexus/mcparallelDo documentation built on May 15, 2019, 2:18 p.m.