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, 2008 12:42 PM
To: r-help@r-project.org
Subject: [R] PDF append help



hi there,

Is there any function to append the pdf file.

I want to write in a pdf file some 100 plots(in one single pdf
containing
100 plots) while all the plot are created using a for loop.

I can create 100 pdf one for each for each plot using a for loop but i
want
only one pdf with 100 plots.

Ramya
-- 
View this message in context:
http://www.nabble.com/PDF-append-help-tp18835069p18835069.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
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.
--------------------------------------------------------

This message w/attachments (message) may be privileged, confidential or 
proprietary, and if you are not an intended recipient, please notify the 
sender, do not use or share it and delete it. Unless specifically indicated, 
this message is not an offer to sell or a solicitation of any investment 
products or other financial product or service, an official confirmation of any 
transaction, or an official statement of Merrill Lynch. Subject to applicable 
law, Merrill Lynch may monitor, review and retain e-communications (EC) 
traveling through its networks/systems. The laws of the country of each 
sender/recipient may impact the handling of EC, and EC may be archived, 
supervised and produced in countries other than the country in which you are 
located. This message cannot be guaranteed to be secure or error-free. This 
message is subject to terms available at the following link: 
http://www.ml.com/e-communications_terms/. By messaging with Merrill Lynch you 
consent to the foregoing.

______________________________________________
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