Announcement: Updated Binary Package Availability for R 4.2 and Ubuntu 22

R 4.2 is expected to be released on April 22, 2022, and will require all R packages to be re-built to work with the new version. The RStudio Package Manager team will start working on providing updated binary packages compatible with R 4.2 as soon as it is officially released, and expect to have those packages published to packagemanager.rstudio.com a few days later.

Additionally, the latest Long Term Support (LTS) release of Ubuntu Linux was released on April 21st. We will be adding Ubuntu 22.04 (Jammy Jellyfish) as an RStudio official distribution in Package Manager, and those binary packages should be available shortly after R 4.2.

4 Likes

trying to install RStudio on ubuntu 22.04, i get an error about libssl packages missing and not being installable, specifically about libssl1.0.0, libssl1.0.2 and libssl1.1

is this because rstudio is not compatible with the 22.04 yet?
thanks

The above is just related to R packages from RStudio Package Manager. I believe you are running into the following issue, which also gives a workaround for now: Current RStudio version is not installable on Ubuntu Jammy Jellyfish 22.04 LTS daily because of missing libssl1 dependency · Issue #10902 · rstudio/rstudio · GitHub

2 Likes

oh, right

thank you very much

so, after installing libssl I was able to install Rstudio, but it crashes on start...

EDIT: as with 21.10, launching it with the "rstudio --no-sandbox" command avoids the crash!

1 Like

I've had no joy with the unsandboxed workaround under 22.02 with R4.2. and 1.461 :bomb:

FWIW I just got it working (on Pop!OS, which is downstream of Ubuntu) by (1) using the most recent daily build (rstudio-2022.06.0-daily-359-amd64.deb) (2) farting around with apt-installing libclang-dev (needed to do apt --fix-broken install too, possibly as a result of something I did earlier).

1 Like

I ran through the rabbit hole of trying to get the newest rstudio to work with the new version of ubuntu. When it says that the libssl is uninstallable, you will find a bunch of threads giving links to fix it but they don't fix it anymore because those links don't exist anymore.

Solution: Follow http://http.us.debian.org/debian/pool/main/o/openssl/ and look for the libssl that is going to work for you. The one I used, current to end of May 2022, is libssl1.1_1.1.1n-0+deb10u1_amd64.deb

When you run the code with the new found package, it will work:

wget 'http://http.us.debian.org/debian/pool/main/o/openssl/libssl1.1_1.1.1n-0+deb10u1_amd64.deb'
sudo apt-get install ./libssl1.1_1.1.1n-0+deb10u1_amd64.deb
sudo apt-get install ./rstudio-2022.02.2-485-amd64.deb
rstudio --no-sandbox

This code will need updated in the future, follow my instructions above to do so if you are looking at this at a later date. You will need to find the new version of libssl1.1_1.1.1n-0+deb10u1_amd64.deb and replace it.

Correction: I didn't install the newest version of Rstudio, read through the above comments and noticed there are newer versions.