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. Thakn you, Saurin Jnai
Deepayan Sarkar
2004-Jun-20 21:06 UTC
[R] regarding saving R graphis images directly to directory
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