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

RStudio Graphics Device Error #6

Closed
martineastwood opened this issue Oct 1, 2019 · 2 comments
Closed

RStudio Graphics Device Error #6

martineastwood opened this issue Oct 1, 2019 · 2 comments
Labels
bug Something isn't working as expected

Comments

@martineastwood
Copy link

Describe the bug:
Cannot plot charts in RStudio due to graphics device error

Expected behaviour:
Charts should appear in RStudio's Viewer panel

Steps to reproduce the issue:

  • docker run -p 8080:8080 mltooling/ml-workspace-r:latest
  • Open Rstudio
  • Load Iris dataset and plot chart as shown in screenshot below

Screen Shot 2019-10-01 at 08 12 44

Technical details:

  • Workspace version : 0.8.5 :
  • Docker version : Docker version :
    Client: Docker Engine Community:
    Version: 18.09.2
    API version: 1.39
    Go version: go1.10.8
    Git commit: 6247962
    Built: Sun Feb 10 04:12:39 2019
    OS/Arch: darwin/amd64
    Experimental: false

Server Docker Engine Community:
Engine:
Version: 18.09.2
API version: 1.39 (minimum version 1.12)
Go version: go1.10.6
Git commit: 6247962
Built: Sun Feb 10 04:13:06 2019
OS/Arch: linux/amd64
Experimental: true

  • Host Machine OS (Windows/Linux/Mac): MacOS Mojave 10.14.6
  • Command used to start the workspace :docker run -p 8080:8080 mltooling/ml-workspace-r:latest
  • Browser (Chrome/Firefox/Safari): Chrome 75.0.3770.142 (Official Build) (64-bit)

Possible Fix:
You may need to install Cairo in the Docker image before RStudio - https://stackoverflow.com/questions/19513705/error-in-rstudiogd-shadow-graphics-device-error-r-error-4-r-code-execution

Additional context:

@martineastwood martineastwood added the bug Something isn't working as expected label Oct 1, 2019
@LukasMasuch
Copy link
Contributor

Thanks @martineastwood. I uploaded a new workspace image containing a fix for this problem (version 0.8.6):

docker run -p 8080:8080 mltooling/ml-workspace-r:0.8.6

image

Does it work for you as well?

@martineastwood
Copy link
Author

Thank you @LukasMasuch, I can confirm it is working for me now too.
Screen Shot 2019-10-02 at 08 10 04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as expected
Projects
None yet
Development

No branches or pull requests

2 participants