RcppTskit: 'R' Access to the 'tskit C' API
'Tskit' enables efficient storage, manipulation, and analysis
of ancestral recombination graphs (ARGs) using succinct tree sequence
encoding. The tree sequence encoding of an ARG is described in Wong et
al. (2024) <doi:10.1093/genetics/iyae100>, while ‘tskit' project is
described in Jeffrey et al. (2026) <doi:10.48550/arXiv.2602.09649>.
See also <https://tskit.dev> for project news, documentation, and
tutorials. ’Tskit' provides 'Python', 'C', and 'Rust' application
programming interfaces (APIs). The 'Python' API can be called from 'R' via
the 'reticulate' package to load and analyse tree sequences as
described at <https://tskit.dev/tutorials/tskitr.html>. 'RcppTskit'
provides 'R' access to the 'tskit C' API for cases where the
'reticulate' option is not optimal; for example, high-performance or
low-level work with tree sequences. Currently, 'RcppTskit' provides a
limited set of 'R' functions because the 'Python' API and 'reticulate'
already covers most needs.
| Version: |
0.2.0 |
| Depends: |
R (≥ 4.0.0) |
| Imports: |
methods, R6, Rcpp (≥ 1.0.8), reticulate (≥ 1.43.0) |
| LinkingTo: |
Rcpp (≥ 0.12.10) |
| Suggests: |
covr, knitr, quarto, spelling, testthat (≥ 3.0.0) |
| Published: |
2026-02-27 |
| DOI: |
10.32614/CRAN.package.RcppTskit (may not be active yet) |
| Author: |
Gregor Gorjanc
[aut, cre, cph],
Tskit Developers [cph] (Authors of included tskit C library) |
| Maintainer: |
Gregor Gorjanc <gregor.gorjanc at gmail.com> |
| BugReports: |
https://github.com/HighlanderLab/RcppTskit/issues |
| License: |
MIT + file LICENSE |
| Copyright: |
see file COPYRIGHTS |
| URL: |
https://github.com/HighlanderLab/RcppTskit |
| NeedsCompilation: |
yes |
| Language: |
en-GB |
| Materials: |
NEWS |
| CRAN checks: |
RcppTskit results |
Documentation:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=RcppTskit
to link to this page.