Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

plotly_IMAGE() not working in R

I am getting thrown an error every time I try to plot a plot_ly graph in R:

plotly_IMAGE(p2, format = “pdf”, out_file = “output2.pdf”)
Error in process.image(append_class(resp, “image”)) :
Internal Server Error (HTTP 500).
plotly_IMAGE(p2, format = “png”, out_file = “output2.png”)
Error in process.image(append_class(resp, “image”)) :
Internal Server Error (HTTP 500).

I have a personal (student) account, so should have the credentials to do this. Any help to this end would be much appreciated.

Thanks.

Hi there,
Please refer to this issue: https://github.com/ropensci/plotly/issues/789 you’ll need the latest dav version of the R API for this fix (the latest CRAN release does not contain it).
For information on installing the latest dev version check out our getting started page: https://plot.ly/r/getting-started/

1 Like