pbdZMQ (version 0.3-3)

Initial Control Functions: Initial controls in pbdZMQ

Description

Initial control functions

Usage

.zmqopt_get(main, sub = NULL, envir = .GlobalEnv)

.zmqopt_set(val, main, sub = NULL, envir = .GlobalEnv)

.zmqopt_init(envir = .GlobalEnv)

Arguments

main

a variable to be get from or set to

sub

a subvariable to be get from or set to

envir

an environment where ZMQ controls locate

val

a value to be set

Value

.zmqopt_init() initial the ZMQ control at envir.

Details

.zmqopt_init() initials default ZMQ controls. .zmqopt_get() gets a ZMQ control. .zmqopt_set() sets a ZMQ control.

References

ZeroMQ/4.1.0 API Reference: http://api.zeromq.org/4-1:_start

Programming with Big Data in R Website: http://r-pbd.org/

See Also

.pbd_env.

Examples

Run this code
# NOT RUN {
library(pbdZMQ, quietly = TRUE)

ls(.pbd_env)
rm(.pbd_env)
.zmqopt_init()
ls(.pbd_env)

.pbd_env$ZMQ.SR$BLOCK
pbd_opt(bytext = "ZMQ.SR$BLOCK = 0L")
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace