Set Control Functions
From pbdZMQ v0.2-1
by Wei-Chen Chen
Set controls in pbdZMQ
Set control functions
- Keywords
- programming
Usage
pbd_opt(..., bytext = "", envir = .GlobalEnv)
Arguments
- ...
- in argument format
option = value
to set.pbd_env$option <- value
inside theenvir
- bytext
- in text format
"option = value"
to set.pbd_env$option <- value
inside theenvir
. - envir
- by default the global environment is used.
Details
pbd_opt()
sets pbd options for ZMQ controls.
...
allows multiple options in
envir$.pbd_env
, but only in a simple way.
bytext
allows to assign options by text in
envir$.pbd_env
, but can assign advanced objects. For example,
"option$suboption <- value"
will set
envir$.pbd_env$option$suboption <- value
.
Value
- No value is returned.
References
ZeroMQ/4.1.0 API Reference:
Programming with Big Data in R Website:
See Also
Examples
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")
Community examples
Looks like there are no examples yet.