How To Install R-cpp11 on Fedora 36

In this tutorial we learn how to install R-cpp11 in Fedora 36. R-cpp11 is A C++11 Interface for R’s C Interface

Introduction

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

What is R-cpp11

Provides a header only, C++11 interface to R’s C interface. Compared to other approaches ‘cpp11’ strives to be safe against long jumps from the C API as well as C++ exceptions, conform to normal R function semantics and supports interaction with ‘ALTREP’ vectors.

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

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

sudo dnf -y install R-cpp11

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

sudo yum -y install R-cpp11

How To Uninstall R-cpp11 on Fedora 36

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

sudo dnf remove R-cpp11

R-cpp11 Package Contents on Fedora 36

/usr/share/R/library/cpp11
/usr/share/R/library/cpp11/DESCRIPTION
/usr/share/R/library/cpp11/INDEX
/usr/share/R/library/cpp11/LICENSE
/usr/share/R/library/cpp11/Meta
/usr/share/R/library/cpp11/Meta/Rd.rds
/usr/share/R/library/cpp11/Meta/features.rds
/usr/share/R/library/cpp11/Meta/hsearch.rds
/usr/share/R/library/cpp11/Meta/links.rds
/usr/share/R/library/cpp11/Meta/nsInfo.rds
/usr/share/R/library/cpp11/Meta/package.rds
/usr/share/R/library/cpp11/Meta/vignette.rds
/usr/share/R/library/cpp11/NAMESPACE
/usr/share/R/library/cpp11/NEWS.md
/usr/share/R/library/cpp11/R
/usr/share/R/library/cpp11/R/cpp11
/usr/share/R/library/cpp11/R/cpp11.rdb
/usr/share/R/library/cpp11/R/cpp11.rdx
/usr/share/R/library/cpp11/doc
/usr/share/R/library/cpp11/doc/FAQ.R
/usr/share/R/library/cpp11/doc/FAQ.Rmd
/usr/share/R/library/cpp11/doc/FAQ.html
/usr/share/R/library/cpp11/doc/converting.R
/usr/share/R/library/cpp11/doc/converting.Rmd
/usr/share/R/library/cpp11/doc/converting.html
/usr/share/R/library/cpp11/doc/cpp11.R
/usr/share/R/library/cpp11/doc/cpp11.Rmd
/usr/share/R/library/cpp11/doc/cpp11.html
/usr/share/R/library/cpp11/doc/index.html
/usr/share/R/library/cpp11/doc/internals.R
/usr/share/R/library/cpp11/doc/internals.Rmd
/usr/share/R/library/cpp11/doc/internals.html
/usr/share/R/library/cpp11/doc/motivations.R
/usr/share/R/library/cpp11/doc/motivations.Rmd
/usr/share/R/library/cpp11/doc/motivations.html
/usr/share/R/library/cpp11/help
/usr/share/R/library/cpp11/help/AnIndex
/usr/share/R/library/cpp11/help/aliases.rds
/usr/share/R/library/cpp11/help/cpp11-package.html
/usr/share/R/library/cpp11/help/cpp11.html
/usr/share/R/library/cpp11/help/cpp11.rdb
/usr/share/R/library/cpp11/help/cpp11.rdx
/usr/share/R/library/cpp11/help/cpp_eval.html
/usr/share/R/library/cpp11/help/cpp_function.html
/usr/share/R/library/cpp11/help/cpp_register.html
/usr/share/R/library/cpp11/help/cpp_source.html
/usr/share/R/library/cpp11/help/cpp_vendor.html
/usr/share/R/library/cpp11/help/paths.rds
/usr/share/R/library/cpp11/html
/usr/share/R/library/cpp11/html/00Index.html
/usr/share/R/library/cpp11/html/R.css
/usr/share/R/library/cpp11/html/cpp11-package.html
/usr/share/R/library/cpp11/html/cpp_register.html
/usr/share/R/library/cpp11/html/cpp_source.html
/usr/share/R/library/cpp11/html/cpp_vendor.html

References

Summary

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