R Installation in Ubuntu 22.04 – Step-by-step

February 5, 2023 | By the+gnu+linux+evangelist.

Installing

  1. 2. Enabling R Repository

    Add R Repository for Ubuntu GNU/Linux

    Enabling R Repo for Ubuntu
  2. 3. Installing R

    Now to Install R on Ubuntu
    Play:

    sudo apt install --no-install-recommends r-base

    The R Packages are Installed in the /usr/lib/R/library Directory.
    Last, the Software from this PPA should take precedence over another eventual Setup from the default Apt Repo.

  3. 4. Installing Tidyverse

    Then to Install Tidyverse in Ubuntu
    Simply run:

    sudo apt install --no-install-recommends r-cran-tidyverse

    This to Setup the complete Tidyverse Packages Set.
    After you find the CRAN Packages under /usr/lib/R/site-library.

Contents


QuickChic Theme • Powered by WordPress