Re: [R] ggsave in Linux

2010-02-24 Thread Ryan Garner
> 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

Re: [R] ggsave in Linux

2010-02-24 Thread Trevor Davis
On Wed, Feb 24, 2010 at 1:28 PM, Ryan Garner wrote: > > 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 w

Re: [R] ggsave in Linux

2010-02-24 Thread Ista Zahn
See below. On Wed, Feb 24, 2010 at 1:28 PM, Ryan Garner wrote: > > 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 >

[R] ggsave in Linux

2010-02-24 Thread Ryan Garner
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