RStudio not starting

I saw another thread re: RStudio and decided to investigate my installed (through zypper) Rstudio. I have not used it for months but it used to start up. RStudio does not start.

Run from terminal, the following errors are received. See below:

(base) tom@mydesktop:~> rstudio
Error creating openGL context
WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
QGLXContext: Failed to create dummy context
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile) 
Aborted (core dumped)
(base) tom@mydesktop:~>

I did try a reinstall and received same messages. I have no knowledge of what to do with this information. Opengl is installed.
Anyone have any insights?

thanks, tom kosvic

Did preliminary search and RStudio threads indicated this might be an RStudio problem that is related to changes of graphics drivers. NVidia drivers did update very recently as I remember. Reboot was suggested. Will try that and report back.

tom kosvic

I won the cigar! Reboot after graphics driver update solved the problem. RStudio started fine.

tom kosvic

1 Like

As I pointed out in the other thread – «due to a similar issue with the package: “audacity”» – there are some packages which neither update nor re-install correctly.

Please use the following Zypper command to remove the dependencies before your re-install the RStudio components:

# zypper remove --clean-deps rstudio rstudio-desktop rstudio-server

Then, re-install the RStudio components.