Learn R Programming

pbdZMQ (version 0.3-13)

Utility Functions: Utility Functions

Description

Utility functions

Usage

zmq.strerror(errno)

zmq.version()

Value

zmq.strerror() returns an R string containing ZeroMQ error message.

Arguments

errno

an integer for the error number

Author

Wei-Chen Chen wccsnow@gmail.com.

Details

zmq.strerror() gets ZeroMQ error message string.

zmq.version() print current ZeroMQ version.

References

ZeroMQ/4.1.0 API Reference: https://libzmq.readthedocs.io/en/zeromq4-1/

Programming with Big Data in R Website: https://pbdr.org/

See Also

zmq.ctx.new(), zmq.ctx.destroy(), zmq.socket(), zmq.close().

Examples

Run this code
if (FALSE) {
library(pbdZMQ, quietly = TRUE)

context <- zmq.ctx.new()
zmq.ctx.destroy(context)
zmq.strerror(0)

zmq.ctx.destroy(context) # Error since context is free.
zmq.strerror(14)
}

Run the code above in your browser using DataLab