[R] creating plots by batch

Rolf Turner rolf at math.unb.ca
Fri Jul 9 16:44:45 CEST 2004


You wrote:

> Hello RHelpers!
> I'm very ashamed but....
> I'm creating quite a lot of plots in a big loop...each times the
> program ask me :
> > Hit <Return> to see next plot: 
> How do I avoid that?

In the file from which your batch job is running (or perhaps in your
.Rprofile, or somewhere like that) you have set ``par(ask=TRUE)''.
You need set par(ask=FALSE) somehow before running the batch job.

You might possibly want to do something like

	par(ask=interactive())

in the file from which your batch job takes its input.

			cheers,

				Rolf Turner
				rolf at math.unb.ca




More information about the R-help mailing list