[Rd] regarding saving R graphis images directly to directory

Thomas Lumley tlumley at u.washington.edu
Mon Jun 21 01:03:26 CEST 2004


On Sun, 20 Jun 2004, Dirk Eddelbuettel wrote:

> On Sun, Jun 20, 2004 at 01:18:47PM -0700, 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.
>
> Use either a 'virtual' X11 display (such as the xvfb server) to provide a
> X11 display even though you don't have a terminal, or the bitmap() device,
> which needs ghostscript installed.
>

Or use pdf() to make PDF files.

	-thomas



More information about the R-devel mailing list