1

This is surprisingly difficult to do. I have already seen:

https://plot.ly/r/knitr/

Plotly as png in knitr/rmarkdown

Embedding plotly output in R markdown

None of these solve the issue and seem to be outdated. Anyone currently doing this or should I abandon the plotly package?

EDIT:

Looking some more, apparently THIS is true from:

https://community.plot.ly/t/use-plotly-offline-to-save-chart-as-image-file/408/6

contacting plotly support resulted in:

community members may only export to PNGs Other formats are
available with the profession plan: https://plot.ly/products/cloud/113

At the moment it is not possible to programatically export an image while using offline, i.e. confirming @jpp

You do have the option to use the camera icon in the mode bar on hover. This worked for me using plotly offline 1.9.3 and chrome, but not Firefox @thauta
Community
  • 1
  • 1
wolfsatthedoor
  • 7,163
  • 18
  • 46
  • 90

0 Answers0