Error starting Rstudio in Ubuntu

I am getting the following error when booting Rstudio in Ubuntu 24.10 using the snap version of Rstudio (version 2025.09.2). Running $ rstudio
gives the message:
[utils.ts] [createStandaloneErrorDialog] Error when creating Standalone Error Dialog: Error: application not set
at o (/snap/rstudio/25/resources/app/.webpack/main/index.js:8:59850)
at t.createStandaloneErrorDialog (/snap/rstudio/25/resources/app/.webpack/main/index.js:2:349611)
at Object.main (/snap/rstudio/25/resources/app/.webpack/main/index.js:2:314796)
Unexpected end of JSON input

Any insights are appreciated!

We (Posit) don't provide a snap package for RStudio, so whatever you are using was not built by us.

What happens if you try to boot from a Terminal or GUI?. We need to know if the problem is R or Rstudio.

The message above was running from the terminal. If I run from the GUI I get no messages, but the software never starts up.
I also tried reinstalling from the .deb file on posit.co (rstudio-2025.09.2-418-amd64.deb) and get the same error.

Sorry, are you saying that after installing from a .deb file (and presumably uninstalling the snap version) you still get an error message that mentions snap?

The error message is updated to:
[utils.ts] [createStandaloneErrorDialog] Error when creating Standalone Error Dialog: Error: application not set
at s (/usr/lib/rstudio/resources/app/.webpack/main/index.js:8:321720)
at t.createStandaloneErrorDialog (/usr/lib/rstudio/resources/app/.webpack/main/index.js:20:89461)
at Object.main (/usr/lib/rstudio/resources/app/.webpack/main/index.js:20:40315)

I had the same issue with "application not set" after a official deb install (had a previous version of RStudio before). Reinstalling etc did not help.

I finally deleted the ~/.config/rstudio/ and that seems to have fixed it.

Thank you, this solution worked for me.

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.