Dear Robert, Thank you very much for your suggestion.
I solved by compiling R with --with-cairo, and installing cairo-devel and pango-devel. Notably, you also need pango-devel. The configure script does not complain if it is missing, but then plotting won't work. Best regards. On 23/06/2021 20:26, Robert Knight wrote: > Perhaps software rendering would work. > > |Export RSTUDIO_CHROMIUM_ARGUMENTS="--disable-gpu"| > |/usr/lib/rstudio/bin/rstudio| > > On Wed, Jun 23, 2021, 10:01 AM Phillips Rogfield > <thebudge...@gmail.com <mailto:thebudge...@gmail.com>> wrote: > > Hello Paul, > > thank you for your kind advice. > > RStudio doesn't start at all this way. It gives me the following > error: > > $ QT_QPA_PLATFORM=wayland rstudio > Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use > QT_QPA_PLATFORM=wayland to run on Wayland anyway. > QSocketNotifier: Can only be used with threads started with QThread > Failed to load client buffer integration: wayland-egl > > WebEngineContext used before QtWebEngine::initialize() or OpenGL > context > creation failed. > qt.qpa.wayland: No shell integration named "xdg-shell" found > qt.qpa.wayland: No shell integration named "xdg-shell-v6" found > qt.qpa.wayland: No shell integration named "wl-shell" found > qt.qpa.wayland: No shell integration named "ivi-shell" found > qt.qpa.wayland: Loading shell integration failed. > qt.qpa.wayland: Attempted to load the following shells ("xdg-shell", > "xdg-shell-v6", "wl-shell", "ivi-shell") > qt.qpa.wayland: Wayland does not support QWindow::requestActivate() > > Best regards. > > On 23/06/2021 02:22, Paul Murrell wrote: > > Hi > > > > I do not know of any Wayland backend for R. > > > > You might be able to try the R Studio IDE configured for Wayland > and > > see how its graphics device performs ? > > https://github.com/rstudio/rstudio/issues/4686 > <https://github.com/rstudio/rstudio/issues/4686> > > > > Paul > > > > On 23/06/21 1:25 am, Phillips Rogfield wrote: > >> I have compiled R from source and I had to install the X11 > libraries. > >> > >> I use Wayland, and I am having problems plotting on X11 (I > guess it uses > >> XWayland) with this version. > >> > >> Is there a Wayland backend for R? > >> > >> Some configuration option I need to turn on in order to use it? > >> > >> ______________________________________________ > >> R-help@r-project.org <mailto:R-help@r-project.org> mailing list > -- To UNSUBSCRIBE and more, see > >> https://stat.ethz.ch/mailman/listinfo/r-help > <https://stat.ethz.ch/mailman/listinfo/r-help> > >> <https://stat.ethz.ch/mailman/listinfo/r-help > <https://stat.ethz.ch/mailman/listinfo/r-help>> > >> PLEASE do read the posting guide > >> http://www.R-project.org/posting-guide.html > <http://www.R-project.org/posting-guide.html> > >> <http://www.R-project.org/posting-guide.html > <http://www.R-project.org/posting-guide.html>> > >> and provide commented, minimal, self-contained, reproducible code. > > > > ______________________________________________ > R-help@r-project.org <mailto:R-help@r-project.org> mailing list -- > To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > <https://stat.ethz.ch/mailman/listinfo/r-help> > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > <http://www.R-project.org/posting-guide.html> > and provide commented, minimal, self-contained, reproducible code. > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.