[R] ggsave in Linux

Ryan Garner ryan.steven.garner at gmail.com
Wed Feb 24 19:28:21 CET 2010


I have a script that creates a qplot that is then saved as a .png file which
works fine on Windows. But I also work on Linux servers via Putty and would
like to be able to create and save my plots to my working directory. Is
there a way I can ggsave my qplot without utilizing X11 in Linux? I don't
need to view the plot in Linux, I just want the plot created and immediately
saved to my working directory.

I get this error:
Error in grDevices::png(..., width = width, height = height, res = dpi,  :
  X11 is not available

-- 
View this message in context: http://n4.nabble.com/ggsave-in-Linux-tp1567860p1567860.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list