Have you tried to save it as an image like .png instead (right after you generate the plot on your rstudio)? you can try to use ggsave( filename, plot = last_plot(), device = NULL, path = NULL, scale = 1, width = NA, # modify here and the height as well height = NA, units = c("in", "cm", "mm"), dpi = 300, limitsize = TRUE, ... )