How To Install R-haven on Fedora 36

In this tutorial we learn how to install R-haven in Fedora 36. R-haven is Import and Export ‘SPSS’, ‘Stata’ and ‘SAS’ Files

Introduction

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

What is R-haven

Import foreign statistical formats into R via the embedded ‘ReadStat’ C library, <https

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

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

sudo dnf -y install R-haven

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

sudo yum -y install R-haven

How To Uninstall R-haven on Fedora 36

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

sudo dnf remove R-haven

R-haven Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/67
/usr/lib/.build-id/67/56c5720a71a2b65df5d628a50cdb9230c1f6de
/usr/lib64/R/library/haven
/usr/lib64/R/library/haven/DESCRIPTION
/usr/lib64/R/library/haven/INDEX
/usr/lib64/R/library/haven/LICENSE
/usr/lib64/R/library/haven/Meta
/usr/lib64/R/library/haven/Meta/Rd.rds
/usr/lib64/R/library/haven/Meta/features.rds
/usr/lib64/R/library/haven/Meta/hsearch.rds
/usr/lib64/R/library/haven/Meta/links.rds
/usr/lib64/R/library/haven/Meta/nsInfo.rds
/usr/lib64/R/library/haven/Meta/package.rds
/usr/lib64/R/library/haven/Meta/vignette.rds
/usr/lib64/R/library/haven/NAMESPACE
/usr/lib64/R/library/haven/NEWS.md
/usr/lib64/R/library/haven/R
/usr/lib64/R/library/haven/R/haven
/usr/lib64/R/library/haven/R/haven.rdb
/usr/lib64/R/library/haven/R/haven.rdx
/usr/lib64/R/library/haven/doc
/usr/lib64/R/library/haven/doc/datetimes.Rmd
/usr/lib64/R/library/haven/doc/datetimes.html
/usr/lib64/R/library/haven/doc/index.html
/usr/lib64/R/library/haven/doc/semantics.R
/usr/lib64/R/library/haven/doc/semantics.Rmd
/usr/lib64/R/library/haven/doc/semantics.html
/usr/lib64/R/library/haven/examples
/usr/lib64/R/library/haven/examples/iris.dta
/usr/lib64/R/library/haven/examples/iris.sas7bdat
/usr/lib64/R/library/haven/examples/iris.sav
/usr/lib64/R/library/haven/help
/usr/lib64/R/library/haven/help/AnIndex
/usr/lib64/R/library/haven/help/aliases.rds
/usr/lib64/R/library/haven/help/as_factor.data.frame.html
/usr/lib64/R/library/haven/help/as_factor.haven_labelled.html
/usr/lib64/R/library/haven/help/as_factor.html
/usr/lib64/R/library/haven/help/as_factor.labelled.html
/usr/lib64/R/library/haven/help/figures
/usr/lib64/R/library/haven/help/figures/logo.png
/usr/lib64/R/library/haven/help/format_tagged_na.html
/usr/lib64/R/library/haven/help/haven-package.html
/usr/lib64/R/library/haven/help/haven.html
/usr/lib64/R/library/haven/help/haven.rdb
/usr/lib64/R/library/haven/help/haven.rdx
/usr/lib64/R/library/haven/help/is.labelled.html
/usr/lib64/R/library/haven/help/is_tagged_na.html
/usr/lib64/R/library/haven/help/labelled.html
/usr/lib64/R/library/haven/help/labelled_spss.html
/usr/lib64/R/library/haven/help/na_tag.html
/usr/lib64/R/library/haven/help/paths.rds
/usr/lib64/R/library/haven/help/print_labels.html
/usr/lib64/R/library/haven/help/print_tagged_na.html
/usr/lib64/R/library/haven/help/read_dta.html
/usr/lib64/R/library/haven/help/read_por.html
/usr/lib64/R/library/haven/help/read_sas.html
/usr/lib64/R/library/haven/help/read_sav.html
/usr/lib64/R/library/haven/help/read_spss.html
/usr/lib64/R/library/haven/help/read_stata.html
/usr/lib64/R/library/haven/help/read_xpt.html
/usr/lib64/R/library/haven/help/tagged_na.html
/usr/lib64/R/library/haven/help/vec_arith.haven_labelled.html
/usr/lib64/R/library/haven/help/write_dta.html
/usr/lib64/R/library/haven/help/write_sas.html
/usr/lib64/R/library/haven/help/write_sav.html
/usr/lib64/R/library/haven/help/write_xpt.html
/usr/lib64/R/library/haven/help/zap_empty.html
/usr/lib64/R/library/haven/help/zap_formats.html
/usr/lib64/R/library/haven/help/zap_label.html
/usr/lib64/R/library/haven/help/zap_labels.html
/usr/lib64/R/library/haven/help/zap_missing.html
/usr/lib64/R/library/haven/help/zap_widths.html
/usr/lib64/R/library/haven/html
/usr/lib64/R/library/haven/html/00Index.html
/usr/lib64/R/library/haven/html/R.css
/usr/lib64/R/library/haven/html/as_factor.html
/usr/lib64/R/library/haven/html/haven-package.html
/usr/lib64/R/library/haven/html/labelled.html
/usr/lib64/R/library/haven/html/labelled_spss.html
/usr/lib64/R/library/haven/html/print_labels.html
/usr/lib64/R/library/haven/html/read_dta.html
/usr/lib64/R/library/haven/html/read_sas.html
/usr/lib64/R/library/haven/html/read_spss.html
/usr/lib64/R/library/haven/html/read_xpt.html
/usr/lib64/R/library/haven/html/tagged_na.html
/usr/lib64/R/library/haven/html/vec_arith.haven_labelled.html
/usr/lib64/R/library/haven/html/zap_empty.html
/usr/lib64/R/library/haven/html/zap_formats.html
/usr/lib64/R/library/haven/html/zap_label.html
/usr/lib64/R/library/haven/html/zap_labels.html
/usr/lib64/R/library/haven/html/zap_missing.html
/usr/lib64/R/library/haven/html/zap_widths.html
/usr/lib64/R/library/haven/libs
/usr/lib64/R/library/haven/libs/haven.so

References

Summary

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