Learn R Programming

race (version 0.1.59)

race.init: Initialization function

Description

The function
race.init()
may be provided by the user for initializing the computation of the slave processes. It's definition has to be given in the same file in which the functions race.wrapper and race.info are defined. The name of such file has to be passed as first argument to the function race.

Arguments

Value

race.init is expected to return an object of mode list.

Details

This function should be used for initializing the computation on each slave, e.g. loading libraries or data needed by race.wrapper, race.info, and/or race.describe. The output of race.init will be passed to these functions.

See Also

race, race.wrapper, race.info, race.describe

Examples

Run this code
# Please have a look at the function `race.init'
# defined in the file `example-wrapper.R':
local({
  source(file.path(system.file(package="race"),
                           "examples","example-wrapper.R"),local=TRUE);
  print(race.init)})

Run the code above in your browser using DataLab