How To Install R-forcats on Fedora 36

In this tutorial we learn how to install R-forcats in Fedora 36. R-forcats is Tools for Working with Categorical Variables (Factors)

Introduction

In this tutorial we learn how to install R-forcats on Fedora 36.

What is R-forcats

Helpers for reordering factor levels (including moving specified levels to front, ordering by first appearance, reversing, and randomly shuffling), and tools for modifying factor levels (including collapsing rare levels into other, ‘anonymising’, and manually ‘recoding’).

We can use yum or dnf to install R-forcats on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install R-forcats.

Install R-forcats on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install R-forcats using dnf by running the following command:

sudo dnf -y install R-forcats

Install R-forcats on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install R-forcats using yum by running the following command:

sudo yum -y install R-forcats

How To Uninstall R-forcats on Fedora 36

To uninstall only the R-forcats package we can use the following command:

sudo dnf remove R-forcats

R-forcats Package Contents on Fedora 36

/usr/share/R/library/forcats
/usr/share/R/library/forcats/DESCRIPTION
/usr/share/R/library/forcats/INDEX
/usr/share/R/library/forcats/LICENSE
/usr/share/R/library/forcats/Meta
/usr/share/R/library/forcats/Meta/Rd.rds
/usr/share/R/library/forcats/Meta/data.rds
/usr/share/R/library/forcats/Meta/features.rds
/usr/share/R/library/forcats/Meta/hsearch.rds
/usr/share/R/library/forcats/Meta/links.rds
/usr/share/R/library/forcats/Meta/nsInfo.rds
/usr/share/R/library/forcats/Meta/package.rds
/usr/share/R/library/forcats/Meta/vignette.rds
/usr/share/R/library/forcats/NAMESPACE
/usr/share/R/library/forcats/NEWS.md
/usr/share/R/library/forcats/R
/usr/share/R/library/forcats/R/forcats
/usr/share/R/library/forcats/R/forcats.rdb
/usr/share/R/library/forcats/R/forcats.rdx
/usr/share/R/library/forcats/data
/usr/share/R/library/forcats/data/Rdata.rdb
/usr/share/R/library/forcats/data/Rdata.rds
/usr/share/R/library/forcats/data/Rdata.rdx
/usr/share/R/library/forcats/doc
/usr/share/R/library/forcats/doc/forcats.R
/usr/share/R/library/forcats/doc/forcats.Rmd
/usr/share/R/library/forcats/doc/forcats.html
/usr/share/R/library/forcats/doc/index.html
/usr/share/R/library/forcats/help
/usr/share/R/library/forcats/help/+25+3E+25.html
/usr/share/R/library/forcats/help/AnIndex
/usr/share/R/library/forcats/help/aliases.rds
/usr/share/R/library/forcats/help/as_factor.character.html
/usr/share/R/library/forcats/help/as_factor.factor.html
/usr/share/R/library/forcats/help/as_factor.html
/usr/share/R/library/forcats/help/as_factor.logical.html
/usr/share/R/library/forcats/help/as_factor.numeric.html
/usr/share/R/library/forcats/help/fct_anon.html
/usr/share/R/library/forcats/help/fct_c.html
/usr/share/R/library/forcats/help/fct_collapse.html
/usr/share/R/library/forcats/help/fct_count.html
/usr/share/R/library/forcats/help/fct_cross.html
/usr/share/R/library/forcats/help/fct_drop.html
/usr/share/R/library/forcats/help/fct_expand.html
/usr/share/R/library/forcats/help/fct_explicit_na.html
/usr/share/R/library/forcats/help/fct_infreq.html
/usr/share/R/library/forcats/help/fct_inorder.html
/usr/share/R/library/forcats/help/fct_inseq.html
/usr/share/R/library/forcats/help/fct_lump.html
/usr/share/R/library/forcats/help/fct_lump_lowfreq.html
/usr/share/R/library/forcats/help/fct_lump_min.html
/usr/share/R/library/forcats/help/fct_lump_n.html
/usr/share/R/library/forcats/help/fct_lump_prop.html
/usr/share/R/library/forcats/help/fct_match.html
/usr/share/R/library/forcats/help/fct_other.html
/usr/share/R/library/forcats/help/fct_recode.html
/usr/share/R/library/forcats/help/fct_relabel.html
/usr/share/R/library/forcats/help/fct_relevel.html
/usr/share/R/library/forcats/help/fct_reorder.html
/usr/share/R/library/forcats/help/fct_reorder2.html
/usr/share/R/library/forcats/help/fct_rev.html
/usr/share/R/library/forcats/help/fct_shift.html
/usr/share/R/library/forcats/help/fct_shuffle.html
/usr/share/R/library/forcats/help/fct_unify.html
/usr/share/R/library/forcats/help/fct_unique.html
/usr/share/R/library/forcats/help/figures
/usr/share/R/library/forcats/help/figures/README-ordered-plot-1.png
/usr/share/R/library/forcats/help/figures/README-unordered-plot-1.png
/usr/share/R/library/forcats/help/figures/logo.png
/usr/share/R/library/forcats/help/first2.html
/usr/share/R/library/forcats/help/forcats-package.html
/usr/share/R/library/forcats/help/forcats.html
/usr/share/R/library/forcats/help/forcats.rdb
/usr/share/R/library/forcats/help/forcats.rdx
/usr/share/R/library/forcats/help/gss_cat.html
/usr/share/R/library/forcats/help/last2.html
/usr/share/R/library/forcats/help/lvls.html
/usr/share/R/library/forcats/help/lvls_expand.html
/usr/share/R/library/forcats/help/lvls_reorder.html
/usr/share/R/library/forcats/help/lvls_revalue.html
/usr/share/R/library/forcats/help/lvls_union.html
/usr/share/R/library/forcats/help/paths.rds
/usr/share/R/library/forcats/help/pipe.html
/usr/share/R/library/forcats/html
/usr/share/R/library/forcats/html/00Index.html
/usr/share/R/library/forcats/html/R.css
/usr/share/R/library/forcats/html/as_factor.html
/usr/share/R/library/forcats/html/fct_anon.html
/usr/share/R/library/forcats/html/fct_c.html
/usr/share/R/library/forcats/html/fct_collapse.html
/usr/share/R/library/forcats/html/fct_count.html
/usr/share/R/library/forcats/html/fct_cross.html
/usr/share/R/library/forcats/html/fct_drop.html
/usr/share/R/library/forcats/html/fct_expand.html
/usr/share/R/library/forcats/html/fct_explicit_na.html
/usr/share/R/library/forcats/html/fct_inorder.html
/usr/share/R/library/forcats/html/fct_lump.html
/usr/share/R/library/forcats/html/fct_match.html
/usr/share/R/library/forcats/html/fct_other.html
/usr/share/R/library/forcats/html/fct_recode.html
/usr/share/R/library/forcats/html/fct_relabel.html
/usr/share/R/library/forcats/html/fct_relevel.html
/usr/share/R/library/forcats/html/fct_reorder.html
/usr/share/R/library/forcats/html/fct_rev.html
/usr/share/R/library/forcats/html/fct_shift.html
/usr/share/R/library/forcats/html/fct_shuffle.html
/usr/share/R/library/forcats/html/fct_unify.html
/usr/share/R/library/forcats/html/fct_unique.html
/usr/share/R/library/forcats/html/forcats-package.html
/usr/share/R/library/forcats/html/gss_cat.html
/usr/share/R/library/forcats/html/lvls.html
/usr/share/R/library/forcats/html/lvls_union.html
/usr/share/R/library/forcats/html/pipe.html

References

Summary

In this tutorial we learn how to install R-forcats on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).