Score:0

Can't install R 4.0.0 version on Linux ( always R 4.2.1 installed )

gf flag

I have a Ubuntu 22.04 system.

I used advice from here to install version of R 4.0.0 but I always get 4.2.1 the newest one.

Problem installing R 4.0 on Ubuntu 18.04

One thing I changed is "bionic" to "jammy" since I have 22.04 instead of 18.04 of Ubuntu so the command adding the repo looks like this

sudo add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/'

I used the following command after

sudo apt-get update
sudo apt install r-base

I run the "R" command in the terminal and see that there is 4.2.1 version installed.

in flag
If you need to run a very specific version of any software, the simplest method is to [use Docker](https://hub.docker.com/layers/rocker/r-ver/4.0/images/sha256-293d2de3e88d0a985ca4c869afa5fc177962763514487aa5e66a5d903aca8067?context=explore). This will ensure you always have the specific version you need, and that any `apt update` you run on the base OS does not upgrade the version of R that you need.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.