hello,

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?

thanks in advance,
rose

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to