You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar to this ggsave bug (tidyverse/ggplot2#2787), running save_plot() non-interactively with Rscript in the terminal produces the empty, unwanted file Rplots.pdf.
library(tidyverse)
library(cowplot)
plot_this <-
ggplot( data = data.frame( x=c(1,2,4), y = c(2,3,5)))+
geom_point(aes(x = x ,y = y))
save_plot(
"test.png",
plot_this ,
base_height = 6,
bg = "white")
The text was updated successfully, but these errors were encountered:
Similar to this ggsave bug (tidyverse/ggplot2#2787), running save_plot() non-interactively with Rscript in the terminal produces the empty, unwanted file Rplots.pdf.
The text was updated successfully, but these errors were encountered: