[R] append to PDF file
Christof Kluß
ckluss at email.uni-kiel.de
Tue Nov 29 13:11:07 CET 2011
Hi Jim, Hi Ken
Am 27-11-2011 00:00, schrieb jim holtman:
> There is the 'pdftk' (PDF tool kit) that you will find on the web that
> will do the job. I have used it to both combine and split out the
> pages in the PDF file.
yes, thx. GUI tools like www.pdfsam.org do the job too. But is there a
possibility to append files directly in R. That is to invoke "pdftk"
inside R with a "shellandwait"?
perhaps something like
for (i in ...) {
...
savePlot(filename="temp.pdf", type="pdf")
exec pdftk temp.pdf final.pdf cat output final.pdf
}
greetings
Christof
More information about the R-help
mailing list