From 7c9b0186518860bffa449c1fbd3cecc0897fc11c Mon Sep 17 00:00:00 2001 From: Iñaki Úcar Date: Sep 30 2020 12:48:06 +0000 Subject: mark bash chunks with dollar --- diff --git a/index.Rmd b/index.Rmd index c086e32..eb4045f 100644 --- a/index.Rmd +++ b/index.Rmd @@ -16,7 +16,7 @@ output: The newest R release (including recommended packages as well as development headers and tools) can be installed by running ```bash -sudo dnf install R +$ sudo dnf install R ``` or `yum` instead of `dnf` for older EPEL versions. This 'R' RPM is a meta-package. It has no content but ensures that the following components are installed @@ -70,7 +70,7 @@ For example, these are the library paths for a x86_64 machine with R 4.0 install Recommended R packages are included as part of the R-core component. A number of add-on packages from CRAN, Bioconductor and other sources are readily available via the official repositories. Hence, running ```bash -dnf repoquery --repo=fedora-source R-* +$ dnf repoquery --repo=fedora-source R-* ``` provides a comprehensive list. @@ -117,9 +117,9 @@ These repositories are automatically synchronized with CRAN every day at 00:00 U To enable this Copr repository in your system: ```bash -sudo dnf install 'dnf-command(copr)' -sudo dnf copr enable iucar/cran -sudo dnf install R-CoprManager +$ sudo dnf install 'dnf-command(copr)' +$ sudo dnf copr enable iucar/cran +$ sudo dnf install R-CoprManager ``` The last command is optional, but recommended, because the CoprManager package integrates binary package installation into your R session. In this way, you can just run e.g. @@ -150,8 +150,8 @@ Since Fedora 33, R (as well as Numpy, Octave and all the other BLAS/LAPACK consu The accompanying `flexiblas` R package enables BLAS/LAPACK switching without leaving the R session, as well as setting the number of threads for parallel backends (see the package's [README](https://github.com/Enchufa2/r-flexiblas) for further information). ```bash -sudo dnf install R-flexiblas # install FlexiBLAS API interface for R -sudo dnf install flexiblas-* # install all available optimized backends +$ sudo dnf install R-flexiblas # install FlexiBLAS API interface for R +$ sudo dnf install flexiblas-* # install all available optimized backends ``` Then, in an R session we see: