[Bug 2011617] Re: Graphics API version mismatch

m.eik michalke 2011617 at bugs.launchpad.net
Thu Mar 16 18:27:22 GMT 2023


FFIW, i can't replicate the issue with (k)buntu 22.04.2 LTS and RKWard
0.7.5 from the official PPA. i would assume the underlying problem was
already addressed in RKWard > 0.7.2.

you might like to try the PPA that fits your setup (ubuntu or CRAN R,
backports or not, stable release or bleeding edge daily snapshots...):
https://launchpad.net/~rkward-devel

-- 
You received this bug notification because you are a member of RKWard
Team, which is subscribed to rkward in Ubuntu.
https://bugs.launchpad.net/bugs/2011617

Title:
  Graphics API version mismatch

Status in rkward package in Ubuntu:
  New

Bug description:
  Trying to plot in RKWard results in:
  Error in (function (width = getOption("rk.screendevice.width"), height = getOption("rk.screendevice.height"),  : 
    Graphics API version mismatch
  Error in RK() : Graphics API version mismatch
  Error in RK() : Graphics API version mismatch

  Outside of RKWard and using plain R this error does not appear and the
  plot is shown.

  I have used R packages from the stock Ubuntu repositories only. I have
  not installed anything with install.packages().

  To reproduce:

  Install Tidyverse:
  sudo apt install r-cran-tidyverse

  Run the following R code in the R Console in RKWard:
  library('tidyverse')
  ggplot(data=mpg)+  geom_point(mapping = aes(x = displ, y = hwy))

  The same code runs fine from just running R from the terminal.

  From what I can gather, the solution is to rebuild against the current
  version of R. Although it's not entirely clear what needs to be
  rebuild.

  System info:
  $ lsb_release -rd
  Description:    Ubuntu 22.04.2 LTS
  Release:        22.04
  $ apt-cache policy rkward
  rkward:
    Installed: 0.7.2-1
    Candidate: 0.7.2-1
    Version table:
   *** 0.7.2-1 500
          500 http://ca.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
          100 /var/lib/dpkg/status
  $ apt-cache policy r-base
  r-base:
    Installed: (none)
    Candidate: 4.1.2-1ubuntu2
    Version table:
       4.1.2-1ubuntu2 500
          500 http://ca.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
          500 http://ca.archive.ubuntu.com/ubuntu jammy/universe i386 Packages
  $ apt-cache policy r-cran-tidyverse
  r-cran-tidyverse:
    Installed: 1.3.1-1
    Candidate: 1.3.1-1
    Version table:
   *** 1.3.1-1 500
          500 http://ca.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
          500 http://ca.archive.ubuntu.com/ubuntu jammy/universe i386 Packages
          100 /var/lib/dpkg/status

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rkward/+bug/2011617/+subscriptions



More information about the rkward-tracker mailing list