[R] Unattended printing under Windows

Michael Camann mac24 at humboldt.edu
Sun Feb 25 22:16:36 CET 2001

R-help list--

I need to process a BUNCH of data in a very repetitious way (literally
days of running the same simple analyses and producing summary graphics
over and over).  I can't face the mind-numbing boredom of this task!

I've written a brief function that automates the process and sink()'s the
text output of each analysis to a report file (it generates dozens of
the buggers) but can't figure out how to generate the graphical output,
save it to a Windows metafile (minimum requirement) and optionally print
it before moving on to the next iteration-- note that this needs to be
done from the command line, not the GUI.  The whole point is to let this
turkey run at night or some other time when I'm not there to click the
mouse.  I used to do something similar with S-plus under unix using ps()
and system() as I recall.  It's been a while, though, and I no longer have
that code.  Can anyone geve me hints as to how best to accomplish this
with R for windows?

Thanks in advance....

--Mike C.

Michael A. Camann                                  Voice: 707-826-3676
Assistant Professor of Zoology                       Fax: 707-826-3201
Institute for Forest Canopy Research     Email: mac24 at axe.humboldt.edu
Department of Biology                            ifcr at axe.humboldt.edu
Humboldt State University           
Arcata, CA 95521


r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list