RStudio Server with X11

I have a CentOS 7 machine with the RStudio Server installed. There are R packages which require X11 to be available.

I can run R from terminal with X11 enabled. I can run RStudio Desktop from the Gnome GUI with X11 enabled. However, when I run RStudio Server from the web GUI X11 is not available.

Is there any way how to make X11 available when running R from the RStudio Server web GUI?

Related but there is not an answer to my question:

which specific packages are you referring to that require X11 to be available?

It is the package gWidgets2tcltk. Here is the related issue we have announced:


Thanks!

If you really must do this, an approach is outlined here: https://support.rstudio.com/hc/en-us/articles/360019922654-Working-with-packages-that-require-X11-and-or-cairo-on-RStudio-Server-Pro

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.