I have a Raspberry Pi 4 running Raspbian (Debian buster). I am trying to install a recent version of R. The default R version installed with Debian buster is 3.5.2. This is way out of date and many R packages cannot run on it.
I found this article explaining how to install a more recent version of R. https://cran.r-project.org/bin/linux/debian/
As described, I added
deb http://cloud.r-project.org/bin/linux/debian buster-cran40/ to
Then, I used
sudo apt update and
sudo apt install -t buster-cran40 r-base.
This results in
pi@raspberrypi:~ $ sudo apt install -t buster-cran40 r-base Reading package lists... Done E: The value 'buster-cran40' is invalid for APT::Default-Release as such a release is not available in the sources
Any recommendations for installing a more recent version of R?