Bug 439162

Summary: "Error in RK() : Graphics API version mismatch" R 4.1
Product: [Applications] rkward Reporter: Alfonso <alfonsociologo>
Component: User InterfaceAssignee: RKWard Team <rkward-devel>
Status: RESOLVED DUPLICATE    
Severity: normal CC: thomas.friedrichsmeier
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alfonso 2021-06-25 18:48:11 UTC
SUMMARY
Error in RK() : Graphics API version mismatch" when
using RKWard native device to plot with ggplot2 with R 4.1.

STEPS TO REPRODUCE
1. Updated with deb "https://cloud.r-project.org/bin/linux/ubuntu focal-cran40/" and "https://launchpad.net/~c2d4u.team/+archive/ubuntu/c2d4u4.0+
" to R 4.1.0, 
2. plotting using ggplot2.
3. Error in RK() : Graphics API version mismatch" when
using RKWard native device.
4. But is capable of producing the graph when submited.


OBSERVED RESULT
Native device shows error:
(In Spanish) "Error in RK() : Versión API gráfica incompatible"

EXPECTED RESULT
Graph preview.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux Mint 20.1
(available in About System)
KDE Plasma Version: 5.68
KDE Frameworks Version: 5.68
Qt Version: Qt5 5.12.8

ADDITIONAL INFORMATION
Comment 1 Alfonso 2021-06-25 19:01:32 UTC
The bug is reproducible with nativie R 4.1 previews dialogs.
Comment 2 Thomas Friedrichsmeier 2021-06-26 20:21:45 UTC
This particular symptom will go away, when rebuilding RKWard against R 4.1. Plotting using ggplot2 will produce crashes, however. See #438993

*** This bug has been marked as a duplicate of bug 438993 ***