David Winsemius
On Mar 17, 2009, at 2:18 PM, Koboltschnig, Rose-Gerd wrote:
> i use the vars package and would like to save the plots plotted with
> the
> plot method for objects with class attribute varest etc.
> so, if
> library(vars)
> data(Canada)
> var.canada <- VAR(Canada)
> then
> plot(var.canada)
> produces a plot for every of the four variables. one has to press
> return
> to get the next plot ("waiting to confirm page change... "). it is
> only
> possible to confirm the page change, but not to save the plot - only
> for
> the last one one gets the options "save", "print" ...
>
> also when i call
> png(file=var.png)
> plot(var.canada)
> dev.off()
> i only get the last plot.
>
> how can i save the four plots, not only the last one?
>
>
David Winsemius, MD
Heritage Laboratories
West Hartford, CT