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 in R failed #389

Open
brainfo opened this issue Mar 21, 2022 · 0 comments
Open

orca in R failed #389

brainfo opened this issue Mar 21, 2022 · 0 comments

Comments

@brainfo
Copy link

brainfo commented Mar 21, 2022

I used rstudio-server with rmarkdown. and I just wrote orca(fig, "time_vocano.pdf") in .Rmd file. the error is this:

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

Error: System command 'orca' failed, exit status: -5, stderr:
E> No protocol specified
E> Unable to init server: Could not connect: Connection refused
E> No protocol specified
E> Unable to init server: Could not connect: Connection refused
E> No protocol specified
E> 
E> (orca:1940217): dbind-WARNING **: 14:28:00.289: Could not open X display
E> 
E> (orca:1940217): dbind-ERROR **: 14:28:00.293: AT-SPI: Couldn't connect to accessibility bus. Is at-spi-bus-launcher running?

 Stack trace:

 1. plotly:::orca(fig, "time_vocano.pdf")
 2. plotly:::orca_available()
 3. plotly:::correct_orca()
 4. processx::run("orca", "-h")
 5. throw(new_process_error(res, call = sys.call(), echo = echo,  ...

 x System command 'orca' failed, exit status: -5, stderr:
E> No protocol specified
E> Unable to init server: Could not connect: Connection refused
E> No protocol specified
E> Unable to init server: Could not connect: Connection refused
E> No protocol specified
E> 
E> (orca:1940217): dbind-WARNING **: 14:28:00.289: Could not open X display
E> 
E> (orca:1940217): dbind-ERROR **: 14:28:00.293: AT-SPI: Couldn't connect to accessibility bus. Is at-spi-bus-launcher running? 

should I use orca_server? Or what could I do to export static figures from R-plotly?
Thanks!

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

1 participant