Package: RcppTskit 0.3.0

Gregor Gorjanc

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 functions because the 'Python' API and 'reticulate' already cover most needs. The provided `RcppTskit R` API mirrors the `tskit Python` API, while the `RcppTskit C++` API mirrors the `tskit C` API.

Authors:Gregor Gorjanc [aut, cre, cph], Tskit Developers [cph]

RcppTskit_0.3.0.tar.gz
RcppTskit_0.3.0.zip(r-4.6)RcppTskit_0.3.0.zip(r-4.5)RcppTskit_0.3.0.zip(r-4.4)
RcppTskit_0.3.0.tgz(r-4.6-x86_64)RcppTskit_0.3.0.tgz(r-4.6-arm64)RcppTskit_0.3.0.tgz(r-4.5-x86_64)RcppTskit_0.3.0.tgz(r-4.5-arm64)
RcppTskit_0.3.0.tar.gz(r-4.6-arm64)RcppTskit_0.3.0.tar.gz(r-4.6-x86_64)RcppTskit_0.3.0.tar.gz(r-4.5-arm64)RcppTskit_0.3.0.tar.gz(r-4.5-x86_64)
RcppTskit_0.3.0.tgz(r-4.5-emscripten)
RcppTskit.pdf |RcppTskit.html
RcppTskit/json (API)
NEWS

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

Bug tracker:https://github.com/highlanderlab/rcpptskit/issues

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

On CRAN:

Conda:

quartocpp

5.82 score 4 stars 1 packages 1 scripts 44 downloads 12 exports 15 dependencies

Last updated from:16d5be2c11. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesLog
linux-devel-arm64OK164
linux-devel-x86_64OK157
source / vignettesOK333
linux-release-arm64OK159
linux-release-x86_64OK165
macos-devel-arm64OK168
macos-devel-x86_64OK369
macos-release-arm64OK136
macos-release-x86_64OK230
windows-develOK173
windows-releaseOK194
windows-oldrelOK190
wasm-releaseOK141

Exports:check_tskit_pyget_tskit_pykastore_versionTableCollectiontc_loadtc_py_to_rtc_readTreeSequencets_loadts_py_to_rts_readtskit_version

Dependencies:bitbit64herejsonlitelatticeMatrixpngR6rappdirsRcppRcppTOMLreticulaterlangrprojrootwithr

RcppTskit: Working with tree sequences in R

Rendered fromRcppTskit_intro.qmdusingquarto::htmlon Mar 03 2026.

Last update: 2026-03-03
Started: 2026-01-27