write_plot: Saves the current plot to the grapho folder

View source: R/recorders.R

write_plotR Documentation

Saves the current plot to the grapho folder

Description

Creates a file containing the current plot into the grapho folder. The filename follows the convention time-userID-sessionID. The savePlotAsImage() is used if the function is run within RStudio. If the function is not run in RStudio then dev.copy() is used.

Usage

write_plot(folder = NULL, return_location = FALSE)

Arguments

folder

folder to write plot into

return_location

if TRUE then location of the plot on disk is returned.

Value

Plot file location string if echo_location argument is TRUE


WarwickCIM/grapho documentation built on Nov. 14, 2022, 9:27 a.m.