dot-rxWithOptions: Temporarily set options then restore them while running code

.rxWithOptionsR Documentation

Temporarily set options then restore them while running code

Description

Temporarily set options then restore them while running code

Usage

.rxWithOptions(ops, code)

Arguments

ops

list of options that will be temporarily set for the code

code

The code to run during the sink

Value

value of code

Examples


.rxWithOptions(list(digits = 21), {
  print(pi)
})

print(pi)

RxODE documentation built on March 23, 2022, 9:06 a.m.