R/Pharma 2026 Workshop (Sep 28 – Oct 1) • Conference: Oct 20 – 21
2026-10-01
Bruno Rodrigues, head of the statistics department at the Ministry of Research and Higher Education in Luxembourg
Slides available online:
https://b-rodrigues.github.io/r_pharma_26
Code available here:
https://github.com/b-rodrigues/r_pharma_26
Eric’s demonstration available here:
https://github.com/RConsortium/submissions-pilot2-nixversion
The puzzle you know:
The puzzle with Nix:
{renv} or {groundhog}: simple to use, but:
Package manager: tool for installing and managing packages
Package: any software (not just R packages)
A popular package manager:
To ensure reproducibility, Nix installs the whole universe onto your computer
{rix} (website) simplifies writing Nix expressions!rix() function:rix::rix() generates a default.nix filenix-build (in terminal) or rix::nix_build() from Rnix-shellrix() supports Python and Julia alongside R:jl_conf = list(jl_version = "1.10", jl_pkgs = c(...))scripts/nix_expressions/02_native_positron_example/scripts/nix_expressions/01_rix_intro/scripts/nix_expressions/02_native_positron_example/{targets}: scripts/nix_expressions/03_nix_targets_pipelinescripts/nix_expressions/04_docker/{shiny}: scripts/nix_expressions/05_shiny{rixpress}: scripts/rixpress_demo/scripts/t_demo/r_py_xgboost_t/{rixpress}{rixpress} allows chaining processing steps in R, Python and Julia{rix} to create a reproducible (via Nix) execution environment for the pipelinereticulate or universal format (JSON)py, r, r2py, etc.)functions.R, images…)scripts/rixpress_demo/my_analysis/
├── tproject.toml # Project configuration and dependencies
├── flake.nix # Reproducible environment definition
├── README.md # Project overview
├── AGENTS.md # Onboarding guide for AI Agents
├── T-LANGUAGE-REFERENCE.md # Tiered language reference for LLMs (git-ignored)
├── src/
│ └── pipeline.t # Your main analysis script
├── data/ # Place your raw data files here
├── outputs/ # Output directory for results
└── tests/ # Unit tests for your analysistproject.tomlt updatenix developscripts/t_demo/r_py_xgboost_t/AGENTS.md, T-LANGUAGE-REFERENCE.md and src/pipeline.t itself is a cheatsheetContact me if you have questions:
Thanks!