R Installation in Debian Bullseye – Step-by-step

November 1, 2021 | By the+gnu+linux+evangelist.

Installing

  1. 2. Enabling R Repository

    Add R Repository for Debian GNU/Linux

    Enabling R Repo for Debian
  2. 3. Installing R

    Now to Install R on Debian
    Play:

    sudo apt install 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 Debian
    First, Install the Required Packages:

    sudo apt install libcurl4-openssl-dev libssl-dev libxml2-dev

    Next launch the R REPL Shell with:

    sudo R

    And then to Setup the complete Tidyverse Packages Set play:

    install.packages("tidyverse", dependencies = TRUE)

    Finally, to Update the Software:

    update.packages(ask=FALSE)

    After you find the CRAN Packages under /usr/lib/R/site-library.

    R REPL Tidyverse

Contents


QuickChic Theme • Powered by WordPress