Bug 449696 - Error in RK() : Graphics API version mismatch
Summary: Error in RK() : Graphics API version mismatch
Status: RESOLVED FIXED
Alias: None
Product: rkward
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: RKWard Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-06 11:36 UTC by edward.purssell
Modified: 2022-03-15 22:28 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description edward.purssell 2022-02-06 11:36:01 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Installed R version 4.1.2 (2021-11-01) -- "Bird Hippie"
Copyright (C) 2021 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
2. sudo add-apt-repository ppa:rkward-devel/rkward-stable-cran
sudo apt-get update
3. sudo apt-get install -y rkward
4. When I try to plot I get: Error in RK() : Graphics API version mismatch

OBSERVED RESULT
Error in RK() : Graphics API version mismatch

EXPECTED RESULT
Graphics output

SOFTWARE/OS VERSIONS
Ubuntu 20.04.3

ADDITIONAL INFORMATION
--- Please fill in ---
--- IMPORTANT NOTE: If possible at all, please use the "Report bug" feature from the "Help" menu inside RKWard. Otherwise, please make sure to read http://rkward.kde.org/bugs for guidelines on what information to include in your report. ---
Comment 1 edward.purssell 2022-02-06 11:48:13 UTC
Sorry should have added, I have:
RKWard Version 0.7.2
Comment 2 Thomas Friedrichsmeier 2022-02-08 15:07:02 UTC
Thanks for reporting. Should be fixed in a minute (by means of triggering a rebuild against the current version of R used by that PPA).
Comment 3 Francisco Cribari 2022-03-15 17:13:37 UTC
I run Arch Linux + KDE, rkward version 0.7.2-1 in a laptop with Intel GPU (mesa driver). I am still experiencing this problem. When I try to plot something, I get the following error message: 

Error in RK() : Graphics API version mismatch

Suggestions are welcome. Thank you.
Comment 4 Thomas Friedrichsmeier 2022-03-15 22:28:43 UTC
> I run Arch Linux + KDE, rkward version 0.7.2-1 in a laptop with Intel GPU (mesa driver). I am still experiencing this problem. When I try to plot something, I get the following error message: 
>
> Error in RK() : Graphics API version mismatch

Your version of RKWard was compiled against R 4.0.x, but you are using R 4.1.x at runtime. Please ask the package maintainer to provide a new package (no changes should be necessary, just a rebuild). Alternatively, consider compiling from source (https://rkward.kde.org/Building_RKWard_From_Source.html).

For a quick workaround change Settings->Configure RKWard->Onscreen Graphics->Integration of R Standard Devices to "No Integration". (You'll be missing out on some features, and previews will appear out-of-window, however).