Re: [R] not saving plot with resizable size?

2012-03-14 Thread R. Michael Weylandt
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 wrote: > i want to save plots in batch mode(100 plots in single code) i

[R] not saving plot with resizable size?

2012-03-14 Thread sagarnikam123
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 messa

Re: [R] Not saving plot

2011-09-28 Thread Joel
You sir are a hero! It works now thanks to your fast and accurate answer. Thanks for the help. //joel -- View this message in context: http://r.789695.n4.nabble.com/Not-saving-plot-tp3850981p3851331.html Sent from the R help mailing list archive at Nabble.com.

Re: [R] Not saving plot

2011-09-28 Thread Rich Shepard
On Wed, 28 Sep 2011, Joel wrote: Seems to have something todo with barchart. Cuz if I just change it to plot it works. But I want to use barchart due to the graphical advantages so do anyone have an ide. Joel, Perhaps. Do you want to save your figure to disk as a .pdf, .jpg, or .png? If

Re: [R] Not saving plot

2011-09-28 Thread Ben Tupper
On Sep 28, 2011, at 8:19 AM, Joel wrote: > Hi > > I got a strange problem. > > I got this code: > poc<-function(USER="nana",REGISTRY="nana",...){ > require(RMySQL) > require(R2HTML) > require(lattice) > > ... (removed the dataprocessing) > > > toReturn=capture.output(HTML(as.title("En liten

Re: [R] Not saving plot

2011-09-28 Thread Joel
Seems to have something todo with barchart. Cuz if I just change it to plot it works. But I want to use barchart due to the graphical advantages so do anyone have an ide. -- View this message in context: http://r.789695.n4.nabble.com/Not-saving-plot-tp3850981p3851255.html Sent from the R help ma

[R] Not saving plot

2011-09-28 Thread Joel
Hi I got a strange problem. I got this code: poc<-function(USER="nana",REGISTRY="nana",...){ require(RMySQL) require(R2HTML) require(lattice) ... (removed the dataprocessing) toReturn=capture.output(HTML(as.title("En liten rapport!"),file="",align="center")) fileDir<-paste("/home/joel/tmpR/rik