I'm running RStudio on a Ubuntu 18.04.6, my R version is 4.3.0 (2023-04-21) -- "Already Tomorrow".
After updating RStudio to the latest version with the installer rstudio-2023.03.1-446-amd64.deb, I am no longer able to run RStudio. Opening it from the GUI doesn't work. When trying to open it from the terminal, I get a pop-up error window (please see the attached capture), plus the following message in the terminal:
[17871:0517/072347.762744:ERROR:gpu_init.cc(523)] Passthrough is not supported, GL is desktop, ANGLE is
(node:17837) UnhandledPromiseRejectionWarning: TypeError: Object has been destroyed
at BrowserWindow. (/usr/lib/rstudio/resources/app/.webpack/main/index.js:17:58240)
at Object.onceWrapper (node:events:627:28)
at BrowserWindow.emit (node:events:525:35)
at process.processTicksAndRejections (node:internal/process/task_queues:78:11)
rstudio --trace-warnings ...to show where the warning was created)
(node:17837) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag
--unhandled-rejections=strict(see Command-line API | Node.js v20.2.0 Documentation). (rejection id: 1)
On the other hand, when trying to open it as admin (
sudo rstudio), I get the following:
[0517/073235.866857:FATAL:electron_main_delegate.cc(299)] Running as root without --no-sandbox is not supported. See 638180 - chromium - An open-source project to help move the web forward. - Monorail.
I already tried to uninstall and reinstall. I also tried to install earlier versions of RStudio, but the problem persists.
I need to use RStudio on my daily routine...any advice on how to solve this is highly appreciated .