cmdstan_default_path: cmdstan_default_path

View source: R/path.R

cmdstan_default_pathR Documentation

cmdstan_default_path

Description

Returns the path to the installation of CmdStan with the most recent release version.

Usage

cmdstan_default_path(old = FALSE, dir = NULL)

Arguments

old

See cmdstan_default_install_path().

dir

Path to a custom install folder with CmdStan installations.

Details

For Windows systems with WSL CmdStan installs, if there are side-by-side WSL and native installs with the same version then the WSL is preferred. Otherwise, the most recent release is chosen, regardless of whether it is native or WSL.

Value

Path to the CmdStan installation with the most recent release version, or NULL if no installation found.


stan-dev/cmdstanr documentation built on May 6, 2024, 10:29 a.m.