Open last plot in external pdf viewer

Share:

Description

Convenience function to show last plot in an external viewer.

Usage

1
ggopen(plot = last_plot(), command = "xdg-open", ...)

Arguments

plot

ggplot2 plot object.

command

character, indicatig which pdf viewer is started.

...

arguments going to ggsave.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.