Plotly plots to Powerpoint using Shiny

How can you print plotly charts into a powerpoint. We were using it ReporteRs to generate powerpoints for all the tables in the Shiny app. But with plotly not being static images how can this be done.
Thank you.

I'm not familiar with ReporteRs, but rmarkdown recently gained powerpoint support, so you can use plotly just like you would in any other output format. One catch is that rmarkdown will attempt to take a screenshot of plotly via webshot, which doesn't support plotly's WebGL-based charts. In that case, you can use the orca() function in plotly to do the image exporting yourself, then use something like knitr::include_graphics() to include the resulting image file.

1 Like