[R] not saving plot with resizable size?

R. Michael Weylandt michael.weylandt at gmail.com
Wed Mar 14 15:53:46 CET 2012


Just plot directly to your desired output device and don't try to copy.

pdf("outfilename.pdf")

# lots of plots

dev.off()

and everything will come out in a single pdf

Michael

On Wed, Mar 14, 2012 at 6:44 AM, sagarnikam123 <sagarnikam123 at gmail.com> wrote:
> i want to save plots in batch mode(100 plots in single code) in resizable
> mode
> which format should i use,i m working on windows
>
>> savePlot("zatka",type="pdf",device=dev.cur())
> Error in savePlot("zatka", type = "pdf", device = dev.cur()) :
>  can only copy from 'windows' devices
>
> --
> View this message in context: http://r.789695.n4.nabble.com/not-saving-plot-with-resizable-size-tp4471520p4471520.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at 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.



More information about the R-help mailing list