capture_output

0th

Percentile

Capture Both StdOut and StdErr

Will sink both "output" and "message" streams without checking whether they are already sunk, and will unsink them the same way.

Keywords
internal
Usage
capture_output(expr, env = parent.frame())

# S3 method for captured_output print(x, ...)

Arguments
env

an environment to evaluate them in

a

quoted to evaluate

Value

a list with stdout and stderr captured separately, classed as "captured_output"

Aliases
  • capture_output
  • print.captured_output
Documentation reproduced from package unitizer, version 1.4.8, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.