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

orca not working in Rstudio #361

Open
chitra-ramakrishnan opened this issue Feb 5, 2021 · 1 comment
Open

orca not working in Rstudio #361

chitra-ramakrishnan opened this issue Feb 5, 2021 · 1 comment

Comments

@chitra-ramakrishnan
Copy link

I ran the below code,
library(plotly)
fig <- plot_ly(data = iris, x = ~Sepal.Length, y = ~Petal.Length)
fig
orca(fig,"testfig.png")

I get the error:
Error: The orca command-line utility is required for this functionality.
Please follow the installation instructions here -- https://github.com/plotly/orca#installation

I can see the orca command, run help but it doesnt produce the output

@rodaguayo
Copy link

rodaguayo commented May 11, 2021

This works for me (Windows 10):
Sys.setenv(PATH=paste0("C:/Users/username/AppData/Local/Programs/orca;", Sys.getenv("PATH")))

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