> 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
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
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
>
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
4 matches
Mail list logo