I got to like R under Windows, and I got to love it under OSX. Installation is very simple, especially now that I'm able to link high performance BLAS also in OSX (previously I used MRAN in Windows to achieve the same results).
It turns out I was spoiled: R in Linux (in Docker, actually, but let's consider just Ubuntu for now) is much more annoying, which surprised me (I always thought Linux to be the Emperor of Scientific Computing Environments). I can't even get the latest R binaries. I had a look at
https://cran.r-project.org/bin/linux/ubuntu/README.html
specifically,
R 3.5 packages for Ubuntu on i386 and amd64 are available for [...] Bionic Beaver (18.04;LTS). Note, to install R 3.5 packages, a different sources.list entry is needed. See below for details.
To obtain the latest R 3.5 packages, add an entry like
deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35/
in your /etc/apt/sources.list file.
My understanding is that I can use 3.5 packages with Ubuntu 18.04, and I have to modify /etc/apt/sources.list
in order to do that. However, if I go to
https://packages.ubuntu.com/search?suite=bionic&searchon=names&keywords=r-base
it's evident that the r-base
apt package for Ubuntu is 3.4.4. And as a matter of fact, that's what
apt-get install -y r-base
gets me. What am I doing wrong?
Also, it looks like packages are always installed from source. When installing zoo
, that's not a big deal, but installing janitor
felt like installing Ubuntu itself I can only shudder at the thought of installing the tidyverse
from source! Is there any obvious shortcut I'm missing?