As detailed in this post, I recently installed
Ubuntu on my old MacBookPro (assuming a MacBookPro from mid-2012 is old
😏). In order to run some simulations I needed to install the latest
version of R. I first followed the procedure to install the latest R on
Debian before realizing that the backport for Ubuntu
are different 😁! So if you are on Ubuntu, the correct link to install the
latest R is here.
The 3-steps-procedure is pretty straight forward:
- add
1
| deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35
|
- add the key used to sign the archives on CRAN:
1
| $ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
|
- install R
1
2
| $ apt-get update
$ apt-get install r-base
|
That’s all folks!