Learn R Programming

Rdsm (version 2.1.1)

mgrinit: Initialize Rdsm

Description

Initializes Rdsm on the given parallel cluster.

Usage

mgrinit(cls,boost=F,barrback=F)

Arguments

cls
The parallel cluster.
boost
Lock functions. If TRUE, boostlock() and boostunlock() are used; otherwise backlock() and backunlock().
barrback
If TRUE, the count/sense variables associated with the barrier will be placed in backing store.

Details

Run this from the manager (the R process from which you create the cluster), before creating the shared variables with mgrmakevar. The initialization need be done only once for the life of the cluster.

If you put shared variables in backing store (barrback = TRUE in mgrmakevar()), or if you are on a Windows platform, you must have boost = FALSE.