
Create a ZeroMQ message object that can be sent multiple times
init.message(data, serialize=TRUE, xdr=.Platform$endian=="big")
a ZeroMQ message object as external pointer
the R object to be sent
whether to call serialize before sending the data
passed directly to serialize command if serialize is requested
ZMQ was written by Martin Sustrik <sustrik@250bpm.com> and Martin Lucina <mato@kotelna.sk>. rzmq was written by Whit Armstrong.
http://www.zeromq.org http://api.zeromq.org http://zguide.zeromq.org/page:all
send.message.object
if (FALSE) {
## remote execution server in rzmq
library(rzmq)
data = list(x=5)
msg = init.message(data)
}
Run the code above in your browser using DataLab