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

py_module_available {reticulate} | R 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.

[Package reticulate version 1.25 Index]