cmdstanr
Lightweight R interface to CmdStan for fitting Bayesian models
cmdstanr keeps adding fast approximations beside full HMC, and fighting Windows toolchains.
◆Recent moves
- 4mo ago
RTools45 support; Windows needs no extra toolchain setup
Removes the long-standing Windows toolchain detour: RTools now works as-is on CmdStan 2.35 and later, with RTools45 supported. The rest is numerical stability work in the loo effective-sample-size calculation and a dozen contributed bug fixes.
View source ↗ - 4mo ago
Bugfix release: SUNDIALS linking, Windows paths, RTools
A pure bugfix release covering SUNDIALS/KINSOL linking, aarch64 RTools, Windows path changes and unconstrain_draws() sizing. No new surface.
View source ↗ - 4mo ago
CmdStanFit objects usable as initial values; RcppEigen dropped
Lets a completed CmdStanFit be passed directly as initial values, which makes chaining a cheap approximate fit into a full sampling run a single argument rather than manual extraction. Also adds CmdStan 2.34/2.35 compatibility, save_metric and save_cmdstan_config, and drops the RcppEigen dependency for direct Eigen interop.
View source ↗ - 2y ago
Bugfix release with dedicated hpp generation step
A small bugfix release whose only forward-looking piece is a separate hpp generation step added for future CmdStan compatibility. Otherwise CI and retry plumbing.
View source ↗ - 2y ago
Laplace and Pathfinder inference methods added
⚡ SPARKAdds two approximate inference methods to the same CmdStanModel interface as sampling, which is the change that makes cmdstanr a workflow rather than a sampler front-end. The 0.8.0 ability to pass a fit as initial values completes the loop this release opened.
View source ↗ - 2y ago
jacobian argument enabled for optimization; assorted fixes
Enables the jacobian argument for optimization and clears a run of issues around exposing Stan functions, user headers and model methods. Consolidation ahead of the method expansion in 0.7.0.
View source ↗