I have a fairly in depth set of numerical results being displayed in tables and plots using R/shiny and published online through the teams xxx.shinyapps.io website system.
This has worked fantastically well but I have found that the RStudio preview of my ggplot2 plots to be vastly different to the published versions. In particular, given a set width, height and resolution, the axis text, main text and plotting character annotations are much smaller in the preview compared to the published version. This has made it a nightmare to aesthetically hone these plots to what I want. I have played around with renderPlot()
and plotMap()
settings but to no avail.
I am using R 3.2.3 in RStudio 0.99.879 with shiny 0.13.2 and ggplot 2.1.0. Has anyone encountered something similar in their shiny/ggplot2 travels?