Problems trying to install RStudio in Ubuntu 22.04

Hi, I have tried to install Rstudio following the instructions on this page: https://linuxhint.com/install-r-and-rstudio-ubuntu/ without success. I'm new to Ubuntu and I don't want to mess up the whole operating system.

Screen capture

I suspect you are using the wrong installer, notice there are separate installers for Ubuntu 18+ and Ubuntu 22, you need to use this one:

https://download1.rstudio.org/electron/jammy/amd64/rstudio-2022.12.0-353-amd64.deb

Also, try installing RStudio with gdebi, it will manage system dependencies for you

sudo gdebi rstudio-2022.12.0-353-amd64.deb
1 Like

I suspect you are using the wrong installer, notice there are separate installers for Ubuntu 18+ and Ubuntu 22, you need to use this one:

That's exactly the installer I used.

Thanks for your help, but I'm getting more errors when trying to install gdebi.

Maybe the page I used to install RStudio didn't have good advice. :frowning:

You have get yourself into dependency hell, you need to run - - fix-broken as sudo

Did you solve the issue? Were you finally able to install RStudio? If so please tell me how because I am having the exact same problem. I am using Ubuntu 22.04.2 LTS and used rstudio-2022.02.1-461-amd64.deb

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.