Re: [R] PDF append help

2009-02-16 Thread Prof Brian Ripley
You cannot just append to PDF files. (Not just those generated by R, but any PDf fiiles: you can combine files but it involves changing them.) Similarly, a PDF file that is incomplete (and it will be incomplete if the deviae is sitll open) cannot be viewed. Technical note: the problem is th

Re: [R] PDF append help

2009-02-16 Thread somewhereondearth
Hi, I need to append my multiple plots in pdf files. my problem is that I would want to run the R script a number times(closing and opening) and still want to append. If i keep the dev.off() it wouldnt let me see my plots while R is open. any idea!! Jorge Ivan Velez wrote: > > Hi Ramya, > > P

Re: [R] PDF append help

2008-08-05 Thread Ling, Gary (Electronic Trading)
Hi, just don't turn if off immediately, see example below: Cheers, Gary # example pdf(file="/home/user/tmp/moreplots.pdf") for (i in 1:5) plot(rnorm(100)) dev.off() -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rajasekaramya Sent: Tuesday, August 05,

Re: [R] PDF append help

2008-08-05 Thread John Kane
Just put all the commands within the pdf()- dev.off() ? --- On Tue, 8/5/08, Rajasekaramya <[EMAIL PROTECTED]> wrote: > From: Rajasekaramya <[EMAIL PROTECTED]> > Subject: [R] PDF append help > To: r-help@r-project.org > Received: Tuesday, August 5, 2008, 12:41 PM > hi there, > > Is there any fu

Re: [R] PDF append help

2008-08-05 Thread Jorge Ivan Velez
Hi Ramya, Perhaps pdf("C:/100plots.pdf") for(i in 1:100) plot(rnorm(10), type='b', main='My 100 plots') dev.off() HTH, Jorge On Tue, Aug 5, 2008 at 12:41 PM, Rajasekaramya <[EMAIL PROTECTED]>wrote: > > hi there, > > Is there any function to append the pdf file. > > I want to write in a pdf f