Re: Saving plots in 'R'



PatB wrote:
I wonder could anybody help me out? I am writing an R script which will
produce multiple plots from a set of data files. The problem is that
the
only way I have found to save the plots is by manually clicking on each
one
and saving to a, say, '.ps' file. The script will potentially produce
hundreds of them, so it will be a lifes work to save them manually. Is
there
any command/function in R that I can embed in the script which will do
this
for me?
TIA, Pat.

There are several formats you can output your graphics into, use ?Devices to see what's available.

Bob

--
Bob O'Hara
Department of Mathematics and Statistics
P.O. Box 68 (Gustaf Hällströmin katu 2b)
FIN-00014 University of Helsinki
Finland

Telephone: +358-9-191 51479
Mobile: +358 50 599 0540
Fax: +358-9-191 51400
WWW: http://www.RNI.Helsinki.FI/~boh/
Journal of Negative Results - EEB: www.jnr-eeb.org
.



Relevant Pages

  • Re: Saving plots in R
    ... Anon. ... produce multiple plots from a set of data files. ... The script will potentially ...
    (sci.stat.consult)
  • Saving plots in R
    ... I am writing an R script which will ... produce multiple plots from a set of data files. ...
    (sci.stat.consult)
  • Re: Saving plots in R
    ... Anon. ... produce multiple plots from a set of data files. ... The script will potentially produce ... save multiple plots to a file created by each of these devices. ...
    (sci.stat.consult)
  • Critique my code: using Lisp to parse lots of "ps -elf" files in AIX
    ... It's my first use of Lisp at work, ... and another ksh script to analyze the output. ... success using them to diagnose some of their own memory problems, ... an hour to process about an hour's worth of data (i.e. 60 data files). ...
    (comp.lang.lisp)
  • Re: Trying to Learn Packages
    ... I have a number of data files, ... A more conventional way is to provide a configure script to run before compiling/installing. ... Then it will auto-generate some code defining this value as a global variable, to make it accessible to the rest of your own code. ... your app would also provide a command line option or an environment variable to override this hard-coded setting at runtime. ...
    (comp.lang.python)