How To Install R-highr on Fedora 36
Introduction
In this tutorial we learn how to install R-highr
on Fedora 36.
What is R-highr
Provides syntax highlighting for R source code. Currently it supports LaTeX and HTML output. Source code of other languages is supported via Andre Simon’s highlight package (<http
We can use yum
or dnf
to install R-highr
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install R-highr.
Install R-highr 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-highr
using dnf
by running the following command:
sudo dnf -y install R-highr
Install R-highr 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-highr
using yum
by running the following command:
sudo yum -y install R-highr
How To Uninstall R-highr on Fedora 36
To uninstall only the R-highr
package we can use the following command:
sudo dnf remove R-highr
R-highr Package Contents on Fedora 36
/usr/share/R/library/highr
/usr/share/R/library/highr/DESCRIPTION
/usr/share/R/library/highr/INDEX
/usr/share/R/library/highr/Meta
/usr/share/R/library/highr/Meta/Rd.rds
/usr/share/R/library/highr/Meta/features.rds
/usr/share/R/library/highr/Meta/hsearch.rds
/usr/share/R/library/highr/Meta/links.rds
/usr/share/R/library/highr/Meta/nsInfo.rds
/usr/share/R/library/highr/Meta/package.rds
/usr/share/R/library/highr/Meta/vignette.rds
/usr/share/R/library/highr/NAMESPACE
/usr/share/R/library/highr/NEWS.Rd
/usr/share/R/library/highr/R
/usr/share/R/library/highr/R/highr
/usr/share/R/library/highr/R/highr.rdb
/usr/share/R/library/highr/R/highr.rdx
/usr/share/R/library/highr/doc
/usr/share/R/library/highr/doc/highr-custom.R
/usr/share/R/library/highr/doc/highr-custom.Rmd
/usr/share/R/library/highr/doc/highr-custom.html
/usr/share/R/library/highr/doc/highr-internals.R
/usr/share/R/library/highr/doc/highr-internals.Rmd
/usr/share/R/library/highr/doc/highr-internals.html
/usr/share/R/library/highr/doc/index.html
/usr/share/R/library/highr/help
/usr/share/R/library/highr/help/AnIndex
/usr/share/R/library/highr/help/aliases.rds
/usr/share/R/library/highr/help/hi_andre.html
/usr/share/R/library/highr/help/hi_html.html
/usr/share/R/library/highr/help/hi_latex.html
/usr/share/R/library/highr/help/highr.rdb
/usr/share/R/library/highr/help/highr.rdx
/usr/share/R/library/highr/help/hilight.html
/usr/share/R/library/highr/help/paths.rds
/usr/share/R/library/highr/html
/usr/share/R/library/highr/html/00Index.html
/usr/share/R/library/highr/html/R.css
/usr/share/R/library/highr/html/hi_andre.html
/usr/share/R/library/highr/html/hilight.html
References
Summary
In this tutorial we learn how to install R-highr
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).