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.


rstudio/reticulate documentation built on March 23, 2024, 4:37 p.m.