Server components for the plot saver module.

plotsaverServer(id, grob, filename = "grob.png")

Arguments

id

An ID string that corresponds with the ID used to call the module's UI function.

grob

a ggplot2 plot

filename

filename for saving plot. The extension will be respected by ggsave.

Value

None