powered by
Temporarily set options then restore them while running code
.rxWithOptions(ops, code)
list of options that will be temporarily set for the code
code
The code to run during the sink
value of code
# NOT RUN { .rxWithOptions(list(digits = 21), { print(pi) }) print(pi) # }
Run the code above in your browser using DataLab