| Context Functions | R Documentation |
Context functions
zmq.ctx.new()
zmq.ctx.destroy(ctx)
ctx |
a ZMQ context |
zmq.ctx.new() initializes a ZMQ context for starting communication.
zmq.ctx.destroy() terminates the context for stopping communication.
zmq.ctx.new() returns an R external pointer (ctx)
generated by ZMQ C API pointing to a context if successful, otherwise
returns an R NULL.
zmq.ctx.destroy() returns 0 if successful, otherwise returns -1 and
sets errno to either EFAULT or EINTR.
Wei-Chen Chen wccsnow@gmail.com.
ZeroMQ/4.1.0 API Reference: https://libzmq.readthedocs.io/en/zeromq4-1/
Programming with Big Data in R Website: https://pbdr.org/
zmq.socket(), zmq.close(),
zmq.bind(), zmq.connect().
## Not run:
library(pbdZMQ, quietly = TRUE)
context <- zmq.ctx.new()
zmq.ctx.destroy(context)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.