[R] graphics in batch mode

Sven Garbade garbade at psy.uni-muenchen.de
Thu Apr 11 19:33:31 CEST 2002

Agustin Lobo wrote:

> Hi!
> The R-intro guide states that:
> "The graphics facilities can be used in both interactive and batch
> modes,.."
> but I'm trying both
> R BATCH commands.file
> and
> R --no-save < commands.file
> and, although I get no errors and
> the output file with the results is
> written to disk, I get no graphics.
> (I want the R function to leave
> results in a file that a shell script
> reads and use, and to draw a graphic).
> Am I missing another option in the command line?

It works for me. Maybe you have missed to open a device?


draws two graphics in ps files. I think you can use other devices as well.

By, Sven

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