Update R linux mint

I don't know how to upgrade R to the latest version on linux mint 19 tara. The version I have right now is R 3.4.4, which doesn't let me install a lot of packages.

Welcome to the community!

I really should not answer this question, as I experienced Linux (Ubuntu, actually) for the first time not even a week ago. I'm sharing what I did to have the latest version of R there, and I hope it'll work in Linux Mint too.

  1. Open the terminal.
  2. Run sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9 to add the GPG key
  3. Run sudo add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35/' to add the R repository
  4. Run sudo apt-get update to update the package list
  5. Run sudo apt-get install r-base to install the R package
  6. Run sudo apt-get install r-base-dev to compile packages from source

This is the relevant documentation.

Linux Mint 19 is based on Ubuntu Bionic so it is very likely that works

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.