R Installation in Fedora 32 – Step-by-step

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

Installing

  1. 2. Installing R

    Now to Install R on Fedora
    Play:

    sudo dnf install R

    The R Packages are Installed in the /usr/local/lib/R/library Folder.
    And the Docs on /usr/share/doc/R.
    For more insight about the R Customization see -> the Fedora R Online Documentation.
    To Search for other Add-ons use:

    dnf repoquery --repo=fedora-source R-*
  2. 3. Enabling Cran2Copr Repo

    Now to Add Cran2Copr for Repository
    To Add the Repo play:

    sudo dnf copr enable iucar/cran

    And now to achieve the Setup Install the R-CoprManager tool:

    sudo dnf install R-CoprManager

    With this then you can Install or Update the Packages into your R Session directly without the usually needed Download and Build.
    Next you can Install the Software on the REPL using the install.packages Command as shown here below for Tidyverse.
    The Repo is an attempt to include most of the CRAN (17K+ Packages) in a RPM shape.

  3. 4. Installing Tidyverse

    Then to Install Tidyverse in Fedora
    First, launch the R REPL Shell with:

    sudo R

    And then to Setup the complete Tidyverse Packages Set, simply play:

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

    Finally, to Update the Software:

    update.packages(ask=FALSE)

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

Contents


QuickChic Theme • Powered by WordPress