Description Usage Arguments Details Value Author(s) See Also
mpi.bcast.Robj
and mpi.bcast.Robj2slave
are used to move
a general R object around among master and all slaves.
1 2 3 | mpi.bcast.Robj(obj = NULL, rank = 0, comm = 1)
mpi.bcast.Robj2slave(obj, comm = 1, all = FALSE)
mpi.bcast.Rfun2slave(comm = 1)
|
obj |
an R object to be transmitted from the sender |
rank |
the sender. |
comm |
a communicator number. |
all |
a logical. If TRUE, all R objects on master are transmitted to slaves. |
mpi.bcast.Robj
is an extension of mpi.bcast
for
moving a general R object around from a sender to everyone.
mpi.bcast.Robj2slave
does an R object transmission from
master to all slaves unless all=TRUE in which case, all master's objects with
the global enviroment are transmitted to all slavers.
mpi.bcast.Robj
returns no value for the sender and the
transmitted one for others. mpi.bcast.Robj2slave
returns no value for the master
and the transmitted R object along its name on slaves. mpi.bcast.Rfun2slave
transmits all master's functions to slaves and returns no value.
Hao Yu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.