R Utilities (the hRU package)

The hRU is an R package currently under development. It includes many helpful utilities for complex data management and analysis, with a particular focus on network data.

The hRU will be available on CRAN in Fall 2026. In the meantime, please feel free to use the provisional versions linked below. THe best method is to load the hRU workspace directly into R (use the *.RData file). Using the hRU as a workspace is less elegant than a package installation but it is a much simpler method.

Download

Download the hRU installation package (large file!) and/or workspace (link opens a shared Google Drive folder)

hRU Installation Package Instructions

To load the hRU as a package from RStudio:

  • Go to Tools -> Install Packages…
  • -> Set Install from to “Package Archive Files (.zip; tar.gz)”
  • -> Select the hRU.tar.gz file under “Package archive”
  • -> Choose your library ->
  • -> Install

Now, within R you may load the package using command “library(hru)”

hRU Workspace Instructions

To load the hRU as a workspace, type the following command within R:

  • load(“hRU_v2026_01_20.RData”)

Be sure that the file exists in your working directory!

Scroll to Top