Wrapper to silently create a plot
plot_invisible(text, outpath)
text | character plotting code to be evaluated |
---|---|
outpath | file.path |
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>)
if (FALSE) { plot_invisible("plot(1)", "test.png") }