A collection of custom R functions. Helper functions complementing CodeAndRoll2. Many functionalities were part of the formerly used CodeAndRoll (v1).
1.) Download Rocinante.R, save it as a local .R file, and run source("~/path/to/Rocinante.R"):
2.) Directly source from the web:
source("https://raw.githubusercontent.com/vertesy/Rocinante/main/R/Rocinante.R")If you encounter a bug, something does not work, or the documentation is unclear, please open an issue in Rocinante. Please check whether it has already been reported.
Updated: 2026/08/25 17:28
-
Extract a column from a matrix-like object as a vector.
-
Extract a row from a matrix-like object as a tibble.
-
Extract selected elements from a vector.
-
Format values without scientific notation.
-
Keep an interactive R session alive and report elapsed minutes.
-
Evaluate an expression with silent error handling.
Updated: 2026/08/25 17:28
Retrieve Memory Information.
Extract a page count from macOS memory information.
Plot system and R object memory usage.
Retrieve details of the current SLURM job for a specified user.
Run a system command and return its output.