powered by
Explicitly initialize the Julia backend for improved performance. This loads the RegimeChangeJulia module and makes Julia functions available.
init_julia(force = FALSE, num_threads = NULL)
Logical indicating success (invisibly).
Logical. Force reinitialization even if already initialized. Default is FALSE.
Integer or NULL. Number of Julia threads to use. Default is NULL (auto-detect).
if (FALSE) { init_julia() julia_available() result <- detect_regimes(data, method = "pelt") }
Run the code above in your browser using DataLab