orca icon indicating copy to clipboard operation
orca copied to clipboard

orca not working in Rstudio

Open chitra-ramakrishnan opened this issue 4 years ago • 1 comments

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

chitra-ramakrishnan avatar Feb 05 '21 20:02 chitra-ramakrishnan

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

rodaguayo avatar May 11 '21 00:05 rodaguayo