plot_invisible: Invisibly push a base plot to a png file

View source: R/plot.R

plot_invisibleR Documentation

Invisibly push a base plot to a png file

Description

Wrapper to silently create a plot

Usage

plot_invisible(text, outpath)

Arguments

text

character plotting code to be evaluated

outpath

file.path

Details

Stores plots as image files in the temporary workspace (See <http://stackoverflow.com/questions/20363266/how-can-i-suppress-the-creation-of-a-plot-while-calling-a-function-in-r>)

Examples

## Not run: 
plot_invisible("plot(1)", "test.png")

## End(Not run)

jsta/rjsta documentation built on June 7, 2022, 8:39 p.m.