[R] Export successively displayed graphics
Petr Klasterecky
klaster at karlin.mff.cuni.cz
Mon Mar 12 08:17:47 CET 2007
?postscript
postscript(file, options)
... all of your plotting for 1 graph ...
dev.off()
You can even discard promting between images unless you want to set
something based on previous graphs.
Petr
Renaud Lacour napsal(a):
> Hello,
>
> I am running R version 2.4.1 on Debian.
>
> I am using some R functions which produce several graphics displayed
> successively with an interactive prompt between each graph. For example,
> the plot.varest (vars) function produces such output (one graph per time
> series on which the VAR model is fitted). Plots on GARCH models also
> produce such outputs.
>
> Moreover, the frontend I am using for R (RkWard) does not enable me to
> export graphs as vectorial image files.
>
> How can I export such graphs as separate (e.g.) Postscript files ?
>
>
> par(ask=FALSE) didn't help.
>
> Thank you for your answer.
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
More information about the R-help
mailing list