From 216ffe157020b5bd70607a2bae225ccf1213b7b0 Mon Sep 17 00:00:00 2001 From: Emelie Harstad <eharstad@unl.edu> Date: Fri, 1 Apr 2022 21:31:37 +0000 Subject: [PATCH] updated R package installation guide --- content/applications/user_software/r_packages.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/applications/user_software/r_packages.md b/content/applications/user_software/r_packages.md index 56e0623f..275dbdb4 100644 --- a/content/applications/user_software/r_packages.md +++ b/content/applications/user_software/r_packages.md @@ -3,6 +3,8 @@ title = "Using R Libraries" description = "How to install R packages on HCC resources." +++ +{{% panel theme="danger" header="**R Package Installation Best Practices**" %}}The preferred way to install R packages is using the [Anaconda Package Manager]({{< relref "using_anaconda_package_manager" >}}), which allows users to create custom software environments. Unlike the R installer, Anaconda automatically resolves even external compatibility/dependency issues, and is therefore a better choice for many applications. The instructions are provided here as a reference and for use when a particular R package is not available via conda. In those cases, we recommend using conda first to install any needed external dependencies or other R packages, then install the desired package within R.{{% /panel %}} + Many commonly used R packages are included in the base R installation available on HCC clusters, such as `tidyverse` and `stringr`. However, users are able to install other packages in their user libraries. -- GitLab