# Interface to 'Python'

## Documentation for package ‘reticulate’ version 1.12

- DESCRIPTION file.
- User guides, package vignettes and other documentation.

## Help Pages

reticulate-package | R Interface to Python
array_reshape | Reshape an Array
as.character.python.builtin.bytes | Convert Python bytes to an R character vector
as_iterator | Traverse a Python iterator or generator
dict | Create Python dictionary
eng_python | A reticulate Engine for Knitr
import | Import a Python module
import_builtins | Import a Python module
import_from_path | Import a Python module
import_main | Import a Python module
iterate | Traverse a Python iterator or generator
iter_next | Traverse a Python iterator or generator
np_array | NumPy array
py | Interact with the Python Main Module
py_available | Check if Python is available on this system
py_capture_output | Capture and return Python output
py_clear_last_error | Get or clear the last Python error encountered
py_config | Python configuration
py_del_item | Delete / remove an item from a Python object
py_dict | Create Python dictionary
py_discover_config | Discover the version of Python to use with reticulate.
py_eval | Run Python code
py_func | Wrap an R function in a Python function with the same signature.
py_function_custom_scaffold | Custom Scaffolding of R Wrappers for Python Functions
py_get_attr | Get an attribute of a Python object
py_get_item | Get an item from a Python object
py_has_attr | Check if a Python object has an attribute
py_help | Documentation for Python Objects
py_id | Unique identifer for Python object
py_install | Install Python packages
py_is_null_xptr | Check if a Python object is a null externalptr
py_iterator | Create a Python iterator from an R function
py_last_error | Get or clear the last Python error encountered
py_len | Length of Python object
py_list_attributes | List all attributes of a Python object
py_load_object | Save and load Python objects with pickle
py_main_thread_func | Create a Python function that will always be called on the main thread
py_module_available | Check if a Python module is available on this system.
py_numpy_available | Check if Python is available on this system
py_run | Run Python code
py_run_file | Run Python code
py_run_string | Run Python code
py_save_object | Save and load Python objects with pickle
py_set_attr | Set an attribute of a Python object
py_set_item | Set an item for a Python object
py_set_seed | Set Python and NumPy random seeds
py_str | An S3 method for getting the string representation of a Python object
py_suppress_warnings | Suppress Python warnings for an expression
py_to_r | Convert between Python and R objects
py_unicode | Convert to Python Unicode Object
py_validate_xptr | Check if a Python object is a null externalptr
r-py-conversion | Convert between Python and R objects
repl_python | Run a Python REPL
reticulate | R Interface to Python
r_to_py | Convert between Python and R objects
source_python | Read and evaluate a Python script
tuple | Create Python tuple
use_condaenv | Configure which version of Python to use
use_python | Configure which version of Python to use
use_virtualenv | Configure which version of Python to use
virtualenv-tools | Interface to Python Virtual Environments
virtualenv_create | Interface to Python Virtual Environments
virtualenv_install | Interface to Python Virtual Environments
virtualenv_list | Interface to Python Virtual Environments
virtualenv_python | Interface to Python Virtual Environments
virtualenv_remove | Interface to Python Virtual Environments
virtualenv_root | Interface to Python Virtual Environments
with.python.builtin.object | Evaluate an expression within a context.