Crandore Hub

sTiles

Tile-Based Sparse Cholesky Factorization and Selected Inverse

Interface to the 'sTiles' framework for tile-based sparse Cholesky factorization: log-determinants, selected inverse (marginal variances) and triangular solves, with symbolic reuse so that repeated factorization of matrices sharing one sparsity pattern pays the ordering cost only once, as in a hyperparameter sweep. The compiled glue in this package resolves its symbols at run time against the 'sTiles' solver library ('libstiles'), which is a separate component distributed under its own terms and is not part of this package. Install it once with 'sTiles_install_library()', or point the package at a copy you already have with the 'STILES_LIB' environment variable.

README

# Bundled solver libraries (optional)

A prebuilt libstiles can be dropped here, in a `<os>-<arch>/` sub-directory
matching `sTiles:::.sTiles_platform_tag()`:

```
inst/solver/
  linux-x86_64/libstiles.so
  macos-x86_64/libstiles.dylib      # Intel Macs
  macos-arm64/libstiles.dylib       # Apple Silicon
  windows-x86_64/libstiles.dll
```

At install these become `<pkg>/solver/<os>-<arch>/...`, and the package prefers
them over the download cache. This is for building a self-contained install of
your own: the released package ships no binary, and these files are
intentionally git-ignored. During development set `STILES_LIB` /
`STILES_LIB_DIR` instead, or rely on the loader's fallback to a repo
`lib/libstiles.so`.

Do not use the name `libs/` here: R reserves `<pkg>/libs` for the package's own
compiled code, and a non-empty `inst/libs` makes R CMD check complain.

Versions across snapshots

VersionRepositoryFileSize
2026.9.4 rolling linux/jammy R-4.5 sTiles_2026.9.4.tar.gz 88.9 KiB
2026.9.4 rolling linux/noble R-4.5 sTiles_2026.9.4.tar.gz 88.9 KiB
2026.9.4 rolling source/ R- sTiles_2026.9.4.tar.gz 36.6 KiB
2026.9.4 latest linux/jammy R-4.5 sTiles_2026.9.4.tar.gz 88.9 KiB
2026.9.4 latest linux/noble R-4.5 sTiles_2026.9.4.tar.gz 88.9 KiB
2026.9.4 latest source/ R- sTiles_2026.9.4.tar.gz 36.6 KiB
2026.9.4 2026-04-23 source/ R- sTiles_2026.9.4.tar.gz 0 B

Dependencies (latest)

Imports

Suggests