View source: R/collectDistribute.R
push | R Documentation |
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.
push(.tmp, objName = deparse(substitute(.tmp)), objPos = ".GlobalEnv")
.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
|
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
.
pull
distributeVector
## Not run:
bigGP.init(3)
a <- 3
push(a)
remoteLs()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.