plotly / plotly/plotly.R

Orca not working

Open
#2,184 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
2.7k
Forks
641
PR merge metrics
No merged PRs in 30d

Description

Hello,

I love this package (great job).

The only problem I am having is exporting 3D scatterplots as png screenshots.

Error in rethrow_call(c_processx_exec, command, c(command, args), pty, :
Command 'orca' not found @win/processx.c:982 (processx_exec)
Type .Last.error.trace to see where the error occurred

I am trying to use orca but I am receiving errors. I have done a lot of scrolling around online and found that I am not the only one experiencing these issues. There are a number of posts from the orca package (please see below) which attribute this to plotly package rather than orca.

https://github.com/plotly/orca/issues/306
https://github.com/plotly/orca/issues/298
https://github.com/plotly/orca/issues/302

In the interim I have also tried using the plotly::export function although I am getting the error below. It asks me to check the examples in help (i.e. help(export)), but the documentation explains the selenium argument without any examples. I have tried to stay away from plotly::export as it is in the process of being deprecated.

Error: Must provide an object of class 'rsClientServer' to the selenium argument to export this plot (see examples section on help(export))
In addition: Warning message:
Error: Must provide an object of class 'rsClientServer' to the selenium argument to export this plot (see examples section on help(export))

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is identified. Begin by reproducing the Windows orca-not-found error and reading plotly::export and help(export) around the selenium argument. Done would require determining and documenting a supported path for exporting the reported 3D scatterplot as a PNG.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data-visualization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.