Shiny plots PDF exportrstats ·
Sometimes it is useful to build a pdf export option into a Shiny app. I built a basic app at first (every important notes was included as comment) to show how to do it easily:
you can also export the ggplot2 type plots like this:
Feel free to download the source code from here.
final notes: If you would like to use Cairo on Ubuntu you need to run this commands at first: