How To Install R-tikzDevice on Fedora 36

In this tutorial we learn how to install R-tikzDevice in Fedora 36. R-tikzDevice is R Graphics Output in LaTeX Format

Introduction

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

What is R-tikzDevice

Provides a graphics output device for R that records plots in a LaTeX-friendly format. The device transforms plotting commands issued by R functions into LaTeX code blocks. When included in a LaTeX document, these blocks are interpreted with the help of ‘TikZ’—a graphics package for TeX and friends written by Till Tantau. Using the ’tikzDevice’, the text of R plots can contain LaTeX commands such as mathematical formula. The device also allows arbitrary LaTeX code to be inserted into the output stream.

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

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

sudo dnf -y install R-tikzDevice

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

sudo yum -y install R-tikzDevice

How To Uninstall R-tikzDevice on Fedora 36

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

sudo dnf remove R-tikzDevice

R-tikzDevice Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/62
/usr/lib/.build-id/62/946f73825a8b237fe407e99170e9211f5754af
/usr/lib64/R/library/tikzDevice
/usr/lib64/R/library/tikzDevice/DESCRIPTION
/usr/lib64/R/library/tikzDevice/INDEX
/usr/lib64/R/library/tikzDevice/Meta
/usr/lib64/R/library/tikzDevice/Meta/Rd.rds
/usr/lib64/R/library/tikzDevice/Meta/features.rds
/usr/lib64/R/library/tikzDevice/Meta/hsearch.rds
/usr/lib64/R/library/tikzDevice/Meta/links.rds
/usr/lib64/R/library/tikzDevice/Meta/nsInfo.rds
/usr/lib64/R/library/tikzDevice/Meta/package.rds
/usr/lib64/R/library/tikzDevice/Meta/vignette.rds
/usr/lib64/R/library/tikzDevice/NAMESPACE
/usr/lib64/R/library/tikzDevice/NEWS.md
/usr/lib64/R/library/tikzDevice/R
/usr/lib64/R/library/tikzDevice/R/tikzDevice
/usr/lib64/R/library/tikzDevice/R/tikzDevice.rdb
/usr/lib64/R/library/tikzDevice/R/tikzDevice.rdx
/usr/lib64/R/library/tikzDevice/doc
/usr/lib64/R/library/tikzDevice/doc/index.html
/usr/lib64/R/library/tikzDevice/doc/tikzDevice.R
/usr/lib64/R/library/tikzDevice/doc/tikzDevice.Rnw
/usr/lib64/R/library/tikzDevice/doc/tikzDevice.pdf
/usr/lib64/R/library/tikzDevice/help
/usr/lib64/R/library/tikzDevice/help/AnIndex
/usr/lib64/R/library/tikzDevice/help/aliases.rds
/usr/lib64/R/library/tikzDevice/help/anyMultibyteUTF8Characters.html
/usr/lib64/R/library/tikzDevice/help/getLatexCharMetrics.html
/usr/lib64/R/library/tikzDevice/help/getLatexStrWidth.html
/usr/lib64/R/library/tikzDevice/help/grid.tikzAnnotate.html
/usr/lib64/R/library/tikzDevice/help/grid.tikzCoord.html
/usr/lib64/R/library/tikzDevice/help/grid.tikzNode.html
/usr/lib64/R/library/tikzDevice/help/gridToDevice.html
/usr/lib64/R/library/tikzDevice/help/paths.rds
/usr/lib64/R/library/tikzDevice/help/sanitizeTexString.html
/usr/lib64/R/library/tikzDevice/help/setTikzDefaults.html
/usr/lib64/R/library/tikzDevice/help/tikz.html
/usr/lib64/R/library/tikzDevice/help/tikzAnnotate.html
/usr/lib64/R/library/tikzDevice/help/tikzAnnotateGrob.html
/usr/lib64/R/library/tikzDevice/help/tikzCompilerInfo.html
/usr/lib64/R/library/tikzDevice/help/tikzCoord.html
/usr/lib64/R/library/tikzDevice/help/tikzCoordGrob.html
/usr/lib64/R/library/tikzDevice/help/tikzDevice-package.html
/usr/lib64/R/library/tikzDevice/help/tikzDevice.html
/usr/lib64/R/library/tikzDevice/help/tikzDevice.rdb
/usr/lib64/R/library/tikzDevice/help/tikzDevice.rdx
/usr/lib64/R/library/tikzDevice/help/tikzNode.html
/usr/lib64/R/library/tikzDevice/help/tikzNodeGrob.html
/usr/lib64/R/library/tikzDevice/help/tikzTest.html
/usr/lib64/R/library/tikzDevice/html
/usr/lib64/R/library/tikzDevice/html/00Index.html
/usr/lib64/R/library/tikzDevice/html/R.css
/usr/lib64/R/library/tikzDevice/html/anyMultibyteUTF8Characters.html
/usr/lib64/R/library/tikzDevice/html/getLatexStrWidth.html
/usr/lib64/R/library/tikzDevice/html/gridToDevice.html
/usr/lib64/R/library/tikzDevice/html/sanitizeTexString.html
/usr/lib64/R/library/tikzDevice/html/setTikzDefaults.html
/usr/lib64/R/library/tikzDevice/html/tikz.html
/usr/lib64/R/library/tikzDevice/html/tikzAnnotate.html
/usr/lib64/R/library/tikzDevice/html/tikzCompilerInfo.html
/usr/lib64/R/library/tikzDevice/html/tikzDevice-package.html
/usr/lib64/R/library/tikzDevice/html/tikzTest.html
/usr/lib64/R/library/tikzDevice/libs
/usr/lib64/R/library/tikzDevice/libs/tikzDevice.so

References

Summary

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