Closed mmjohn closed 4 years ago
Unfortunately not all R graphics devices support the same feature set. In general, if something works in one graphics device (here, the RStudio viewer) but not in another (here, pdf()
), then it's the graphics device's fault. Saving as png instead of pdf may help.
I'm running into an issue when I try to save a plot that has markdown elements in the y axis title. I added a lambda symbol to the y axis using ggtext. There's no issue displaying it within RStudio, but when I save the plot with save_plot(), the lambda in the y axis is converted to two dots.