mpi.bcast.Robj {Rmpi}R Documentation

Extensions of MPI\_Bcast API

Description

mpi.bcast.Robj and mpi.bcast.Robj2slave are used to move a general R object around among master and all slaves.

Usage

mpi.bcast.Robj(obj = NULL, rank = 0, comm = 1)
mpi.bcast.Robj2slave(obj, comm = 1)

Arguments

obj

an R object to be transmitted from the sender

rank

the sender.

comm

a communicator number.

Details

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 only. serialize package is used to serialize/unserialize an R object.

Value

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.

Author(s)

Hao Yu

See Also

mpi.send.Robj, mpi.recv.Robj,


[Package Rmpi version 0.5-9 Index]