Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Our Out Trusted Research Environment (TRE) currently offers a partial mirror of CRAN - this includes many of the most frequently used packages, such as odbc, DBI, tidyverse, etc. These can be installed to your workspace by yourself without HIC support getting involved. However, package approval is a manual process, so if there’s something missing, please let us know so we can ingress this into our TREallows access to all packages within CRAN. We do this by running a faux-CRAN mirror which, instead of hosting CRAN packages, simply downloads on-demand the package requested and scans it for malware prior to returning it to your TRE workspace. This is far faster than our previous method where manual approval was required for each package within our mirror.

⬇ Installation

Assuming a package has been approved and ingressed into the package you want exists in CRAN, you can install it via our Cloud TRE CRAN mirror, you should be able to install a package proxy in the usual way, using the RStudio GUI. Alternatively, you can use the install.packages(...) command. E.g., to install tidyverse,

>>> install.packages('tidyverse')

We mirror support access to binary packages for Windows workspaces. However, these aren’t available (other than in deb format) for Linux the versions of R we run, as well as source packages for our Ubuntu workspaces. Installation from Ubuntu / Linux workspaces takes a while, since the packages must be compiledcan therefore take a while as each CRAN package has to be compiled if it includes native code.

RTools is installed on all workspaces, which allows for installation from source or installation of packages which include native code.

Info

We are in the process of updating our CRAN mirror which will allow ingress of any CRAN package without manual approval.

😭 Requesting package approval

If a the R package you need isn’t found in our CRAN mirror, please request it by opening a support ticket. This is usually quite a fast process. If possible, please specify your project number / name, whether you are using a Windows or Ubuntu workspace, the name of the package(s) required, as well as any version numbers.

...