Error trying to plot anything on RStudio Server

Hi,

I restarted my computer (Ubuntu 16.04.7 LTS) and now I cannot plot anything on RStudio Server. The machine is updated and I even tried to uninstall and install RStudio Server again. This error doesn't occur outside of RStudio Sever, when I am using R in the terminal for example.

If I start a new session and just type
grid::grid.newpage()
I get the following error:
"The previous R session was abnormally terminated due to an unexpected crash. You may have lost workspace data as a result of this crash."

If I type
X11()
a new window pops up and I can generate figures without any issue.

R version 4.1.0
RStudio Server version 1.4.1106

Any ideas what's the issue, please?

Nevermind,
I just saw someone's post with the same issue and I installed the RStudio Server Preview
(RStudio Preview - RStudio)
and it fixed the issue :slight_smile:

This topic was automatically closed 7 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.