py_module_available: Check if a Python module is available on this system.

View source: R/config.R

py_module_availableR Documentation

Check if a Python module is available on this system.

Description

Note that this function will also attempt to initialize Python before checking if the requested module is available.

Usage

py_module_available(module)

Arguments

module

The name of the module.

Value

TRUE if the module is available and can be loaded; FALSE otherwise.


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