detect_blimp: Produce Blimp location Conditional on Operating System

View source: R/detect_blimp.R

detect_blimpR Documentation

Produce Blimp location Conditional on Operating System

Description

This function is called when running Blimp and can be used to determine what location rblimp uses for the Blimp executable.

Usage

detect_blimp(prompt = TRUE)

Arguments

prompt

Logical; when TRUE (default) and no Blimp is found in an interactive session, ask whether to install Blimp via install_blimp. Set to FALSE to suppress the prompt and fail with an error instead (this is what has_blimp does internally).

Details

rblimp resolves Blimp's executable location in this order:

  1. Any location previously set via set_blimp.

  2. The R_BLIMP environment variable.

  3. A managed install created by install_blimp.

  4. The default operating-system install location of the Blimp system installer.

If none are found and the R session is interactive, detect_blimp offers to download and install Blimp via install_blimp (unless prompt = FALSE).

Value

A character string of blimp's executable location.

See Also

set_blimp to set blimp location, install_blimp to install Blimp into a managed directory.

Examples


# Obtain blimp location
detect_blimp()


rblimp documentation built on May 18, 2026, 9:07 a.m.