PVM.unpack {rpvm} | R Documentation |
Unpack data from current active receive buffer.
.PVM.upkdouble (nitem = 1, stride = 1) .PVM.upkint (nitem = 1, stride = 1) .PVM.upkstr (maxlen = 200) .PVM.upkintvec () .PVM.upkdblvec () .PVM.upkstrvec () .PVM.upkintmat () .PVM.upkdblmat () .PVM.upkstrmat () .PVM.upkfactor ()
nitem |
number of items to unpack. |
stride |
the stride to be used when unpacking the items. For
example, if stride = 2 with .PVM.upkdouble then every
other element in the buffer will be unpacked. |
maxlen |
maximum length of the string buffer |
These functions unpack data packed by corresponding .PVM.pk*
functions. The first two functions .PVM.upkdoubl
and
.PVM.upkint
are lower-level correspondents of the PVM library
and require the number of items to unpack as an argument.
.PVM.upkstr
is used to unpack a string send by C functions or
.PVM.pkstr
. It requires an argument maxlen
that
should be larger than the length of the string passed. For packing
and unpacking strings between R processes, .PVM.pkstrvec
and .PVM.upkstrvec
can be used (in the case, the maximum length
is part of the message).
Return unpacked data.
Na (Michael) Li nali@umn.edu and A.J. Rossini rossini@u.washington.edu
PVM documentation
## Unpack a matrix ## Not run: a <- .PVM.upkdblmat ()