I am needing to change my current running R version (4.3) to an older version (4.2 or 4.1.2). I have not found any useful information online on how to do this. I am running Ubuntu 22.04 and any tutorials on how it could be done don't work on my system or IDE.
Although it's possible to compile an earlier version from source (I've done it when apt was lagging), it's inadvisable from a sysadm perspective. The lagging problem is gone, so the drill from the terminal
sudo apt-get remove r-base-core
sudo apt-get autoremove
sudo apt-get update
sudo apt-get install r-base=4.2.*
sudo apt-mark hold r-base
R --version