How To Install R-R6 on Fedora 36

In this tutorial we learn how to install R-R6 in Fedora 36. R-R6 is Classes with Reference Semantics

Introduction

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

What is R-R6

The R6 package allows the creation of classes with reference semantics, similar to R’s built-in reference classes. Compared to reference classes, R6 classes are simpler and lighter-weight, and they are not built on S4 classes so they do not require the methods package. These classes allow public and private members, and they support inheritance, even when the classes are defined in different packages.

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

Install R-R6 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-R6 using dnf by running the following command:

sudo dnf -y install R-R6

Install R-R6 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-R6 using yum by running the following command:

sudo yum -y install R-R6

How To Uninstall R-R6 on Fedora 36

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

sudo dnf remove R-R6

R-R6 Package Contents on Fedora 36

/usr/share/R/library/R6
/usr/share/R/library/R6/DESCRIPTION
/usr/share/R/library/R6/INDEX
/usr/share/R/library/R6/LICENSE
/usr/share/R/library/R6/Meta
/usr/share/R/library/R6/Meta/Rd.rds
/usr/share/R/library/R6/Meta/features.rds
/usr/share/R/library/R6/Meta/hsearch.rds
/usr/share/R/library/R6/Meta/links.rds
/usr/share/R/library/R6/Meta/nsInfo.rds
/usr/share/R/library/R6/Meta/package.rds
/usr/share/R/library/R6/NAMESPACE
/usr/share/R/library/R6/NEWS.md
/usr/share/R/library/R6/R
/usr/share/R/library/R6/R/R6
/usr/share/R/library/R6/R/R6.rdb
/usr/share/R/library/R6/R/R6.rdx
/usr/share/R/library/R6/help
/usr/share/R/library/R6/help/AnIndex
/usr/share/R/library/R6/help/R6.html
/usr/share/R/library/R6/help/R6.rdb
/usr/share/R/library/R6/help/R6.rdx
/usr/share/R/library/R6/help/R6Class.html
/usr/share/R/library/R6/help/aliases.rds
/usr/share/R/library/R6/help/as.list.R6.html
/usr/share/R/library/R6/help/figures
/usr/share/R/library/R6/help/figures/logo.png
/usr/share/R/library/R6/help/figures/logo.svg
/usr/share/R/library/R6/help/is.R6.html
/usr/share/R/library/R6/help/is.R6Class.html
/usr/share/R/library/R6/help/paths.rds
/usr/share/R/library/R6/html
/usr/share/R/library/R6/html/00Index.html
/usr/share/R/library/R6/html/R.css
/usr/share/R/library/R6/html/R6Class.html
/usr/share/R/library/R6/html/as.list.R6.html
/usr/share/R/library/R6/html/is.R6.html

References

Summary

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