SUMMARY Plotting with RKWard native device fails with R version 4.2.0. STEPS TO REPRODUCE - Settings - Configure RKWard... - Onscreen Graphics - Default graphics device - RKWard native device - Integration of R standard devices - Replace with RKWard device - OK - new script file - plot(NULL) - Run all OBSERVED RESULT A dialog appears. Title: Graphics version mismatch Content: R Graphics Engine version has changed (from 12 to 15). This change requires a recompilation. Additional information EXPECTED RESULT A plot window. SOFTWARE/OS VERSIONS R version 4.2.0 (2022-04-22) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 20.04.4 LTS rkward_0.7.4 ADDITIONAL INFORMATION Updating Graphics Devices for R 4.2.0: https://developer.r-project.org/Blog/public/2021/12/14/updating-graphics-devices-for-r-4.2.0/
how did you install RKWard? if you are combining CRAN versions of R with older versions of ubuntu, you must install a version of RKWard that was copiled for your particular R version. to make this easier, we are offering this PPA repository: https://launchpad.net/~rkward-devel/+archive/ubuntu/rkward-stable-cran
These are my entries for apt: /etc/apt/sources.list: deb https://ftp.fau.de/cran/bin/linux/ubuntu/ focal-cran40/ /etc/apt/sources.list.d/rkward-devel-ubuntu-rkward-stable-focal.list: deb http://ppa.launchpad.net/rkward-devel/rkward-stable/ubuntu focal main
> deb http://ppa.launchpad.net/rkward-devel/rkward-stable/ubuntu focal main As Meik has pointed out, you will need http://ppa.launchpad.net/rkward-devel/rkward-stable-cran/ubuntu, instead, since you are using the "CRAN version" of R, rather than the one that comes with 20.04, by default. It is true that the packages in our PPAs are currently missing dependency information that would have prevented you from installing this combination.
There was a small difference in the names of the PPAs: rkward-stable vs. rkward-stable-cran I did not see that. Thank you very much, now it works.