Package: riot 1.2.0

Aymeric Stamm

riot: R Inputs/Outputs for Tractography

Provides a unified input-output interface for reading and writing bundles — collections of 3-D polylines (streamlines) reconstructed by fibre-tracking algorithms applied to diffusion MRI data. Supported formats include VTK (.vtk), VTP (.vtp), medInria FDS (.fds), MRtrix TCK/TSF (.tck/.tsf), and TrackVis TRK (.trk), with additional formats accessible via the 'DIPY' Python library through 'reticulate'. Bundles are represented in R using the S7 classes defined in the 'fiber' package: a single tract (class 'streamline') stores its coordinates, per-point scalar attributes, and per-streamline scalar attributes in separate, typed slots; a collection of tracts (class 'bundle') wraps a list of streamlines together with optional bundle-level metadata. VTK support is provided at compile time by the 'rvtk' package, which supplies pre-compiled VTK libraries and headers so that no manual VTK installation is required on most platforms.

Authors:Aymeric Stamm [aut, cre, cph], Jeroen Ooms [ctb], Lee Thomason [ctb], Tim Schäfer [ctb]

riot_1.2.0.tar.gz
riot_1.2.0.zip(r-4.7-x86_64)riot_1.2.0.zip(r-4.6-x86_64)
riot_1.2.0.tar.gz(r-4.7-x86_64)riot_1.2.0.tar.gz(r-4.6-x86_64)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
riot/json (API)

# Install 'riot' in R:
install.packages('riot', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/tractoverse/riot/issues

Pkgdown/docs site:https://tractoverse.github.io

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

quartocpp

3.38 score 24 scripts 24 downloads 2 exports 7 dependencies

Last updated from:a966999e86. Checks:5 FAIL, 5 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64FAIL124
linux-devel-x86_64OK180
source / vignettesOK323
linux-release-arm64FAIL113
linux-release-x86_64OK185
windows-devel-arm64FAIL265
windows-devel-x86_64OK322
windows-release-arm64FAIL255
windows-release-x86_64OK277
wasm-releaseFAIL133

Exports:read_bundlewrite_bundle

Dependencies:clicpp11fiberfsrlangrvtkS7

Importing and exporting bundles with riot
What riot does | Supported formats | Example data | Reading a bundle | Attaching bundle-level metadata at import time | Formats that need a reference image | Transforming a bundle | Writing a bundle | Where to go next

Last update: 2026-11-26
Started: 2026-11-26

The riot package API
Public API | read_bundle() — import bundles | write_bundle() — export bundles | Internal functions | Conversion between bundle objects and the C++ flat list | The MRtrix reader | The TRK reader | The C++ layer | The DIPY Python bridge | Adding a new format

Last update: 2026-11-26
Started: 2026-11-26