How to save a plot as image on disk from Viewer in RStudio?
问题 Summary: my ultimate goal is to use rCharts , and specifically Highcharts , as part of a ReporteRs PowerPoint report automation workflow. One of the charts I would like to use is rendered as html in the Viewer pane in Rstudio, and addPlot(function() print(myChart)) does not add it to the PowerPoint. As a workaround, I decided to try to save myChart to disk, from where I could just add it to the PowerPoint that way. So my question is really, How do I get my html image into my ReporteRs