Problem to install Rstudio

My Rstudio is failing to install on my new ubuntu OS. I am getting the error below;

I can see a couple problems, you haven't successfully added the signing key for the CRAN deb repository, try running this command.

wget -qO- https://cloud.r-project.org/bin/linux/ubuntu/marutter_pubkey.asc | sudo tee -a /etc/apt/trusted.gpg.d/cran_ubuntu_key.asc

And then make sure to install R

Also, dpkg doesn't handle dependencies so you either have to manually install the missing system dependencies or use something like gdebi

sudo gdebi rstudio-2022.12.0-353-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.