plotly / orca

Command line application for generating static images of interactive plotly charts
MIT License
292 stars 40 forks source link

System command 'orca' failed #382

Open lixuan25 opened 2 years ago

lixuan25 commented 2 years ago

Hello Plotly,

When running this code on R studio,: _library(plotly) p <- plotly(x = 1:10, y = 1:10, color = 1:10) orca(p, "plot.svg")

I get the following error message: Error in processx::run("orca", "-h") : System command 'orca' failed, exit status: 127, stderr empty

Then I run the .Last.error.trace to trace the error, this is what I get: _1. plotly:::orca(p, "plot.svg")

  1. plotly:::orca_available()
  2. plotly:::correct_orca()
  3. processx::run("orca", "-h")
  4. throw(new_processerror(res, call = sys.call(), echo = echo, ... x System command 'orca' failed, exit status: 127, stderr empty

I am running this code on: RStudio: Version 1.4.1717 R-4.0.4 orca-1.3.3

Have no clue about this error, appreciate help from you guys. Thanks, Xuan