biogeme_config: Configure the Python runtime used by rbiogeme

View source: R/runtime.R

biogeme_configR Documentation

Configure the Python runtime used by rbiogeme

Description

Configuration must be performed before Python is initialized in the R session. The default requirement is ⁠biogeme==3.3.5⁠; use this function to select a different compatible Biogeme requirement explicitly.

Usage

biogeme_config(python = NULL, biogeme_requirement = NULL, debug = NULL)

Arguments

python

Optional Python executable. If NULL, reticulate selects the interpreter according to its normal configuration rules.

biogeme_requirement

Python requirement passed to reticulate::py_require().

debug

If TRUE, preserve the Python traceback in Biogeme error conditions.

Details

biogeme_config(python = ...) selects an existing Python interpreter; it does not install Biogeme into that interpreter. If python is omitted, reticulate can provision the configured requirement in its managed environment.

Value

The current configuration, invisibly when changes are requested and visibly otherwise.


rbiogeme documentation built on Sept. 29, 2026, 5:09 p.m.