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.
| Version: | 1.2.0 |
| Imports: | cli, fiber, fs, rlang, rvtk (≥ 0.2.0) |
| LinkingTo: | cpp11 |
| Suggests: | knitr, pkgdown, quarto, reticulate, tinytest |
| Published: | 2026-11-26 |
| DOI: | 10.32614/CRAN.package.riot |
| Author: | Aymeric Stamm |
| Maintainer: | Aymeric Stamm <aymeric.stamm at cnrs.fr> |
| BugReports: | https://github.com/tractoverse/riot/issues |
| License: | MIT + file LICENSE |
| URL: | https://github.com/tractoverse/riot, https://tractoverse.github.io/riot/ |
| NeedsCompilation: | yes |
| SystemRequirements: | Python (>= 3.7) with the 'dipy' package is optional; required only for TRX, FIB, and DPY bundle formats. |
| Materials: | README, NEWS |
| CRAN checks: | riot results |
| Reference manual: | riot.html , riot.pdf |
| Vignettes: |
The riot package API (source, R code) Importing and exporting bundles with riot (source, R code) |
| Package source: | riot_1.2.0.tar.gz |
| Windows binaries: | r-devel: not available, r-release: not available, r-oldrel: not available |
| macOS binaries: | r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available |
| Old sources: | riot archive |
Please use the canonical form https://CRAN.R-project.org/package=riot to link to this page.