[R] how to save images from R-plot after MCMC

Ido M. Tamir tamir at imp.univie.ac.at
Sun Dec 4 17:14:51 CET 2005


Ping Yao wrote:

> Hi,group:
>         I have a lot of images from R-plot after MCMC ,How can I save them
> by file ?
> 
have a look at dev2bitmap I they are already on the screen.
Or let them go directly to a pdf file.
pdf("mcmc.pdf")
dev.off()

or to multiple png files
png("mcmc1.pdf")
dev.off()
png("mcmc2.pdf")
dev.off()

regards,
Ido Tamir




More information about the R-help mailing list