Bug 33021 - R Graphics don't open in RStudio Plots tab
Summary: R Graphics don't open in RStudio Plots tab
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA9-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2024-03-27 14:48 CET by leo lenoir
Modified: 2024-04-04 22:28 CEST (History)
6 users (show)

See Also:
Source RPM: R-base-4.1.3-6.mga9.src.rpm, rstudio-1.2.5042-16.mga9.src.rpm
CVE:
Status comment:


Attachments

Description leo lenoir 2024-03-27 14:48:53 CET
Description of problem:
R Graphics don't open in RStudio Plots tab. Graphics open always in a R window. The plot tab of RStudio is disabled.

RStudio console start up message :

R graphics engine version 16 is not supported by this version of RStudio. The Plots tab will be disabled until a newer version of RStudio is installed.


Version-Release number of selected component (if applicable):
R-base-4.1.3-6.mga9.x86_64.rpm
rstudio-1.2.5042-6.mga8.x86_64.rpm


How reproducible:
Starting up RStudio

Steps to Reproduce:
1.
2.
3.
Comment 1 sturmvogel 2024-03-27 15:00:03 CET
As easily can be seen at your output, you still have rstudio from Mageia 8 installed. Uninstall it and install the Mageia 9 version.
Comment 2 Lewis Smith 2024-03-27 20:31:33 CET
Well spotted, Frank. We must await feedback from leo.

Even the M9 version rstudio-1.2.5042(-16) is nominally the same as the reporter's M8 one, rstudio-1.2.5042((-6). Let us hope that the change from M8 -6 to M9 -16 makes the difference.

"RStudio requires R 3.3.0+" looks OK.
Not sure if this is the same thing:
 https://posit.co/download/rstudio-desktop/
but it refers to "rstudio-2023.12.1-402-x86_64.rpm" for both Fedora & Suse.
No one packager deals with this if we need to push it on..

CC: (none) => lewyssmith
Source RPM: (none) => R-base-4.1.3-6.mga9.src.rpm, rstudio-1.2.5042-16.mga9.src.rpm

Comment 3 leo lenoir 2024-03-29 15:33:51 CET
No, I have the mga's packages :

rpm -qa rstu*
rstudio-common-1.2.5042-16.mga9
rstudio-1.2.5042-16.mga9

urpmq -f R-base
R-base-4.1.3-6.mga9.x86_64

I didn't know what is my mistake in the first post.

I checked Ubuntu 22/Debian 12 et Fedora 36/Red Hat 9 tarballs of https://posit.co/download/rstudio-desktop/.
They work fine.
Comment 4 christian barranco 2024-03-31 10:24:56 CEST
Hi. I just packaged the latest version of Rstudio to solve a similar issue reported on the MLO forum.
I propose to handle this report.

CC: (none) => chb0
Assignee: bugsquad => chb0

Comment 5 christian barranco 2024-04-01 21:27:57 CEST
Hi.
Rstudio 2023.12.1+402 is now available for testing in core/updates_testing
In addition, @papoteur just packaged R-base 4.3.3

@leo, could you please test and let us know whether it solves your issue. You might need to wait a little bit, while the mirrors sync.


PACKAGES FOR QA TESTING
=======================
x86_64:
    rstudio-2023.12.1+402-1.mga9.x86_64.rpm
    rstudio-common-2023.12.1+402-1.mga9.x86_64.rpm
    rstudio-server-2023.12.1+402-1.mga9.x86_64.rpm
    R-base-4.3.3-1.mga9.x86_64.rpm
    lib64Rmath-4.3.3-1.mga9.x86_64.rpm
    lib64Rmath-devel-4.3.3-1.mga9.x86_64.rpm
Comment 6 christian barranco 2024-04-01 21:28:45 CEST
ADVISORY NOTICE PROPOSAL
========================
Rstudio updated to 2023.12.1+402 and R-base to 4.3.3, to fix bugs


Description
It has been a while Rstudio has not been updated and many users have started to report bugs, mainly related to display.
Update to 2023.12.1+402 is provided to be both up-to-date and to fix the reported bugs.
In the meantime, R-base package is updated to 4.3.3
                
References
https://bugs.mageia.org/show_bug.cgi?id=33021
https://github.com/rstudio/rstudio/releases/tag/2023.12.1%2B402
https://cran.r-project.org/


SRPMS
9/core
rstudio-2023.12.1+402-1.mga9.src.rpm
R-base-4.3.3-1.mga9.src.rpm
    
PACKAGES FOR QA TESTING
=======================
x86_64:
    rstudio-2023.12.1+402-1.mga9.x86_64.rpm
    rstudio-common-2023.12.1+402-1.mga9.x86_64.rpm
    rstudio-server-2023.12.1+402-1.mga9.x86_64.rpm
    R-base-4.3.3-1.mga9.x86_64.rpm
    lib64Rmath-4.3.3-1.mga9.x86_64.rpm
    lib64Rmath-devel-4.3.3-1.mga9.x86_64.rpm

i586:
    rstudio-2023.12.1+402-1.mga9.i586.rpm
    rstudio-common-2023.12.1+402-1.mga9.i586.rpm
    rstudio-server-2023.12.1+402-1.mga9.i586.rpm
    R-base-4.3.3-1.mga9.i586.rpm
    libRmath-4.3.3-1.mga9.i586.rpm
    libRmath-devel-4.3.3-1.mga9.i586.rpm

Assignee: chb0 => qa-bugs
CC: (none) => yvesbrungard

katnatek 2024-04-01 21:38:50 CEST

Keywords: (none) => advisory

Comment 7 Herman Viaene 2024-04-03 10:32:30 CEST
MGA9-64  Plasma Wayland on HP-Pavillion
No installation issues.
Launched rstudio from CLI:
$ rstudio
TTY detected. Printing informational message about logging configuration. Logging configuration loaded from '/home/tester9/.config/kdedefaults:/etc/xdg:/etc/xdg/kf5:/var/lib/plasma5-profiles/common/xdg/rstudio/logging.conf'. Logging to '/home/tester9/.local/share/rstudio/log/rdesktop.log'.
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()

Rstudio opens and as per info given in it, run commands
> demo()
this lists a number of demos available, picked
> demo(colors())
and this shows available colors step by step
Looks OK.
Tried web-interface
$ rstudio-server start
TTY detected. Printing informational message about logging configuration. Logging configuration loaded from '/home/tester9/.config/kdedefaults:/etc/xdg:/etc/xdg/kf5:/var/lib/plasma5-profiles/common/xdg/rstudio/logging.conf'. Logging to '/home/tester9/.local/share/rstudio/log/rserver.log'.
[tester9@mach4 ~]$ rstudio-server status
● rstudio-server.service - RStudio Server
     Loaded: loaded (/usr/lib/systemd/system/rstudio-server.service; disabled; preset: disabled)
     Active: active (running) since Wed 2024-04-03 10:22:50 CEST; 18s ago
    Process: 15845 ExecStart=/usr/lib64/rstudio/bin/rserver (code=exited, status=0/SUCCESS)
   Main PID: 15846 (rserver)
      Tasks: 4 (limit: 4495)
     Memory: 4.6M
        CPU: 2.096s
     CGroup: /system.slice/rstudio-server.service
             └─15846 /usr/lib64/rstudio/bin/rserver

Apr 03 10:22:50 mach4.hviaene.thuis systemd[1]: Starting rstudio-server.service...
Apr 03 10:22:50 mach4.hviaene.thuis systemd[1]: Started rstudio-server.service.
then pont to http://localhost:8787 , that opens rstudio but requires a login.
No time left now to go further, returning later to it.

CC: (none) => herman.viaene

Comment 8 leo lenoir 2024-04-03 15:13:39 CEST
Hi
The graphic tab bug is over. Rstudio 2023.12.1+402  has the same behavior and numerical results as the last RStudio.

But I havn't the R-base 4.3.3 version, but the 4.3.2 version on my Mageia9.
Comment 9 Herman Viaene 2024-04-03 15:46:38 CEST
After seraching a lot on configs, found out by trial ans error you have to start rstudio-server as root. Then you can login with your plain desktop user.
The interface in the browser is the same as the standalone one and the demo(colors())  command works as well.
OK for me.

Whiteboard: (none) => MGA9-64-OK

katnatek 2024-04-03 18:59:56 CEST

CC: (none) => andrewsfarm

Comment 10 christian barranco 2024-04-03 19:06:01 CEST
(In reply to leo lenoir from comment #8)
> Hi
> The graphic tab bug is over. Rstudio 2023.12.1+402  has the same behavior
> and numerical results as the last RStudio.
> 
> But I havn't the R-base 4.3.3 version, but the 4.3.2 version on my Mageia9.

Thanks Leo. You might want to try again for R-base 4.3.3 or change mirror. It should be a sync issue as I just confirmed this package has made it through our Build System.
Comment 11 leo lenoir 2024-04-04 17:39:23 CEST
I did it today. Everything seems OK to me.
Comment 12 katnatek 2024-04-04 21:06:13 CEST
Thomas, I take the liberty of validate due Herman test and comment#11

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs

Comment 13 Mageia Robot 2024-04-04 22:28:08 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2024-0121.html

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.