PDF append help
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 that there is a table of objects at the end of the file.
On Mon, 16 Feb 2009, somewhereondearth wrote:
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,
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
<ramya.victory at gmail.com>wrote:
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 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.
[[alternative HTML version deleted]]
______________________________________________ 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.
-- View this message in context: http://www.nabble.com/PDF-append-help-tp18835069p22042954.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.
Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595