Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Article for Exporting Static Image with Orca outdated. #99

Open
PAllen0518 opened this issue Nov 22, 2021 · 1 comment
Open

Article for Exporting Static Image with Orca outdated. #99

PAllen0518 opened this issue Nov 22, 2021 · 1 comment

Comments

@PAllen0518
Copy link

PAllen0518 commented Nov 22, 2021

Article under address ( https://plotly.com/r/static-image-export/ ) needs to be updated to reflect the deprecation of orca:

library(plotly)
 if (!require("processx")) install.packages("processx")
fig <- plot_ly(z = ~volcano) %>% add_surface()
orca(fig, "surface-plot.svg")

Warning message:
'orca' is deprecated.
Use 'kaleido' instead.
See help("Deprecated") 

R version 4.1.0 (2021-05-18)
Platform: x86_64-w64-mingw32/x64 (64-bit)

other attached packages:
[1] reticulate_1.22 plotly_4.10.0 processx_3.5.2

@suknuk
Copy link

suknuk commented Mar 2, 2022

Yes please, this just cost me a couple of hours trying to add orca inside my Docker environment. Quite annoying to find out when everything is configured correctly, at the end you are presented with the message that orca is outdated :(
The documentation should contain the article for the installation of https://github.com/plotly/Kaleido/ and the save_image/export_image methods by the Kaleido package

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants