[R] ggsave in Linux

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


> library(ggplot2)
> data(diamonds)
> temp <- qplot(cut, color, data=diamonds)
> ggsave(temp, file = "test.png")
Saving 7" x 7" image
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-tp1567860p1567986.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list