push {bigGP}R Documentation

Copy Object from Master to Slave Processes

Description

Copies an objects from the master process to all slave processes. Objects can be copied to environments and ReferenceClass objects as well as the global environment on the slaves.

Usage

push(.tmp, objName = deparse(substitute(.tmp)), objPos = ".GlobalEnv")

Arguments

.tmp

object on master process to be copied, given either as the name of an object or as a character.

objName

the name to use for the object on the slave processes.

objPos

where to do the assignment, given as a character string (unlike assign). This can indicate an environment or a ReferenceClass object.

Warning

Vectors that are part of the distributed linear algebra computations are broken up in very specific ways on the slave processes and often include padded elements. In general one should not use push to distribute such objects as push would distribute the entire vector to each slave process. Rather, use distributeVector.

See Also

pull distributeVector

Examples

## Not run: 
bigGP.init(3)
a <- 3
push(a)
remoteLs()

## End(Not run)

[Package bigGP version 0.1.8 Index]