Updating r ubuntu

All attempts to upgrade R to 3.5.0 on Linux Mint 18.3 didn't work as (perhaps) there was not this version in the CRAN repository and mirrors, I downloaded and installed 3.5.0 in a directory, and pointed RStudio to it via adding the line export RSTUDIO_WHICH_R=/usr/bin/R in ~/.profile, as advised in https://support.rstudio.com/hc/en-us/articles/200486138-Changing-R-versions-for-RStudio-desktop. More here: https://t.co/8g Jtzr J7Uu Thanks @marutterstat @eddelbuettel all for working on this.However, RStudio wouldn't use it, complaining: R Not Found R shared library (/usr/local/lib/R/lib/lib R.so) not found. https://t.co/4flz8nd JSy Tangentially related: I went down this rabbit hole for a while yesterday, looking into upgrading to 3.5.0 on Linux.If you want the most up to date version of R for Ubuntu it's best to follow the instructions at the cran page for R on Ubuntu.What this means is that, since r-base exists in the ubuntu repo at version 3.2, with release "xenial", it'll never use the 3.6 branch from the other repo, because the release name for that repo is "xenial-cran35".They should have had 2 repos, each of which had a "xenial" release folder, one url for their 3.2 branch work and one for the 3.5 branch work.Instead they have one repo, and have bastardized the "release name" instead, which just sort of happens to work for base Ubuntu, but won't work if you have non-base configuration of apt in this way.So if an update is going to break your system, it will do so whether you get it right away or whether you wait for it for 6 months and then get it.

This is basically R's fault for having a poorly formatted repo.

Questions on Stack Overflow are expected to relate to programming within the scope defined by the community.

Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Since R is already installed, you should be able to upgrade it with this method.

I only wish I had been exposed to all of this a lot earlier in my life My only linux experience is with Arch.

All I can say is that coming from Windows, it was a dream to jump to a totally customizable, build-it-yourself, bloatware-free (as in no pre-installed application that I might never need) world.

Search for updating r ubuntu:

updating r ubuntu-67updating r ubuntu-28updating r ubuntu-12

Leave a Reply

Your email address will not be published. Required fields are marked *

One thought on “updating r ubuntu”