py_available: Check if Python is available on this system

View source: R/config.R

py_availableR Documentation

Check if Python is available on this system

Description

Check if Python is available on this system

Usage

py_available(initialize = FALSE)

py_numpy_available(initialize = FALSE)

Arguments

initialize

TRUE to attempt to initialize Python bindings if they aren't yet available (defaults to FALSE).

Value

Logical indicating whether Python is initialized.

Note

The py_numpy_available function is a superset of the py_available function (it calls py_available first before checking for NumPy).


reticulate documentation built on Sept. 11, 2024, 8:31 p.m.