Although the old version served well, it is still nice to see these two brothers getting upgraded.
The RStudio is upgraded first.
sudo apt-get install gdebi-core sudo gdebi rstudio-server-0.99.891-amd64.deb
For reason unknown to me the R came installed is an very old one (back to 2013). So a more recent R is installed manually. The following commands will stop RStudio for the upgrade (and the last one to restart).
sudo rstudio-server offline sudo rstudio-server force-suspend-all sudo rstudio-server online
However, for my installation that does not work. The thing that worked is log in to RStudio and then use “Session > Restart R”.
A fresh start of R / RStudio!