| mpi.send.Robj {Rmpi} | R Documentation |
mpi.send.Robj and mpi.recv.Robj are two
extensions of mpi.send and mpi.recv. They are used to
transmit a general R object from any source to any destination.
mpi.send.Robj(obj, dest, tag, comm = 1) mpi.recv.Robj(source, tag, comm = 1, status = 0)
obj |
an R object. Can be any R object. |
dest |
the destination rank. |
source |
the source rank or mpi.any.source() for any source. |
tag |
non-negative integer or mpi.any.tag() for any tag. |
comm |
a communicator number. |
status |
a status number. |
mpi.send.Robj uses serialize to encode
an R object into
a binary char vector. It sends the message to the destination. The receiver
decode the message back into an R object by using
unserialize.
mpi.send.Robj returns no value. mpi.recv.Robj returns the
the transmitted R object.
Hao Yu
http://www.lam-mpi.org/, http://www-unix.mcs.anl.gov/mpi/www/www3/
mpi.send,
mpi.recv,
serialize,
unserialize,