oracle / fastr

A high-performance implementation of the R programming language, built on GraalVM.
Other
626 stars 64 forks source link

Plotly not working #78

Closed rbotafogo closed 5 years ago

rbotafogo commented 5 years ago

I tried to run Ploty and got the following error:

RuntimeError: Error: No Cairo or bitmap device is available. Such a graphics device is required to convert sizes correctly in ggplotly().

You have two options: (1) install.packages('Cairo') (2) compile R to use a bitmap device (png or jpeg) (RError) Translated to internal error

Since fastR supports 'png' and 'jpeg' should condition 2 be satisfied?

Thanks

steve-s commented 5 years ago

Hello Rodrigo,

thank you for the report. We could reproduce the issue. The fix is already queued in our internal system. I've tried the following example from plotly and it seems to work fine:

plot_ly(z = ~volcano, type = "surface")