[R] regarding saving R graphis images directly to directory
Deepayan Sarkar
deepayan at stat.wisc.edu
Sun Jun 20 23:06:10 CEST 2004
On Sunday 20 June 2004 15:15, SAURIN wrote:
> Dear R,
>
> I am student at University of new haven, CT.I am trying to run my R
> scripts where I don't have X11() authentication to my account. I run
> those R scripts and when I generate any graphics I get error and it
> comes out from system.
>
> if possible , please let me know how can i run R scripts ...so, that
> I just SAVE BOX PLOT or HISTOGRAM jpeg or png files to current
> directory without poping up on screen or without using any devices or
> make them silent..or something.
You could output to postscript (see ?postscript for details). This
sounds like a UNIX/Linux system, so you could probably use 'convert'
afterwards to get jpeg/png if you want.
You can start R with 'R -g none' to make postscript the default device.
Hope that helps,
Deepayan
More information about the R-help
mailing list