Skip to contents

Reports what backend='julia' would find, and installs nothing: it is safe to call on a machine with no Julia and no JuliaConnectoR, where it says so rather than erroring. ctJuliaInstall supplies whatever it reports as missing.

Usage

ctJuliaStatus(project = NULL, julia_bin = NULL)

Arguments

project

Optional local ContinuousTimeSEM.jl checkout to use instead of the copy that ships with ctsem. Rarely needed: the engine is part of ctsem and is edited in place under inst/julia/.

julia_bin

Optional Julia binary directory.

Value

A list describing the selected Julia engine: whether it is available – a julia fit could run now without asking anything, which needs a Julia that starts and the engine's Julia packages installed, or consent to install them given in advance with CTSEM_JULIA_AGREE=yes (checked by a short julia process, once per session, never a session) – whether the connectoR bridge package is installed at a version the backend runs on, the julia_bin directory in use and the julia version there, the engine version (a hash of the engine source shipped with this ctsem, which is also what its cached project directory is keyed on), and the number of threads in a running session (NA when none is running: this never starts one, so it leaves the session's width to the first call that needs it).

Examples

status <- ctJuliaStatus()
status$available