On 29.11.2011 13:15, R. Michael Weylandt wrote:
I think you are looking for the system() command.

... and you certainly do not want to use savePlot but rather use the pdf() device directly.

Uwe Ligges


Michael

On Tue, Nov 29, 2011 at 7:11 AM, Christof Kluß<ckl...@email.uni-kiel.de>  wrote:
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

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


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

______________________________________________
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