Learn R Programming

reticulate (version 1.38.0)

py_module_available: 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)

Value

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

Arguments

module

The name of the module.