capture_plot_output: Capture graphical output

Description Usage Arguments Value See Also

View source: R/binscatter.r

Description

Capture graphical output

Usage

1

Arguments

expr

An expression to evaluate without printing output

Value

Whatever expr returned

This function takes advantage of R's delayed evaluation. expr isn't valuated until it's forced in this function. The output is printed to a temporary png, which is then deleted.

See Also

utils::capture.output()


karldw/kdw.junk documentation built on Sept. 8, 2021, 9:30 p.m.