[R] Adding page numbers to existing PDFs

Bert Gunter bgunter@4567 @end|ng |rom gm@||@com
Fri Oct 21 19:57:26 CEST 2022


Have you done a web search on "R packages to edit pdf files" or similar? I
got what looked like relevant hits with it.

Bert

On Fri, Oct 21, 2022 at 10:49 AM Dennis Fisher <fisher using plessthan.com> wrote:

> R 4.2.1
> OS X
>
> Colleagues
>
> I have multipage PDF files that were created in R — the files do NOT have
> page numbers.  I would like to add page numbers after the fact, i.e., read
> a file into R, add margin text, then output as a PDF.
> Can this be done in R (base R or a package)?
> It can be done in Python using reportlab.pdfgen — however, the file size
> increases prohibitively.
>
> Dennis
>
> Dennis Fisher MD
> P < (The "P Less Than" Company)
> Phone / Fax: 1-866-PLessThan (1-866-753-7784)
> www.PLessThan.com
>
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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]]



More information about the R-help mailing list