plotly / plotly.R

An interactive graphing library for R
https://plotly-r.com
Other
2.55k stars 623 forks source link

export many figures to same pdf file #1601

Closed dingying85 closed 5 years ago

dingying85 commented 5 years ago

Hi Plotly developer,

After reading, I found export can save a plotly into a pdf file. However, if I have a loop, and want to save 100 plots into same pdf files, how can I do that? Please advise. Thanks.

Yours, Ying Ding

cpsievert commented 5 years ago

After creating the pdf files, you could use something like pdftools::pdf_combine() to combine all the pdfs into one.