Learn R Programming

⚠️There's a newer version (1.38.0) of this package.Take me there.

reticulate (version 1.2)

R Interface to Python

Description

R interface to Python modules, classes, and functions. When calling into Python R data types are automatically converted to their equivalent Python types. When values are returned from Python to R they are converted back to R types. Compatible with all versions of Python >= 2.7.

Copy Link

Version

Install

install.packages('reticulate')

Monthly Downloads

274,079

Version

1.2

License

Apache License 2.0

Issues

Pull Requests

Stars

Forks

Maintainer

JJ Allaire

Last Published

September 27th, 2017

Functions in reticulate (1.2)

py_call

Call a Python callable object
py_available

Check if Python is available on this system
import

Import a Python module
py_last_error

Get or clear the last Python error encountered
py_config

Python configuration
conda-tools

Interface to conda utility commands
py_iterator

Create a Python iterator from an R function
dict

Create Python dictionary
py_config_error_message

Build Python configuration error message
py_discover_config

Discover the version of Python to use with reticulate.
py_list_attributes

List all attributes of a Python object
py_function_wrapper

Scaffold R wrappers for Python functions
py_module_available

Check if a Python module is available on this system.
py_suppress_warnings

Suppress Python warnings for an expression
py_unicode

Convert to Python Unicode Object
iterate

Traverse a Python iterator or generator
use_python

Configure which version of Python to use
py_get_attr

Get an attribute of a Python object
with-as-operator

Create local alias for objects in with statements.
py_has_attr

Check if a Python object has an attribute
py_versions_windows

Discover versions of Python installed on a Windows system
register_class_filter

Register a filter for class names
r-py-conversion

Convert between Pyton and R objects
register_help_topics

Register help topics
register_module_help_handler

Register a help handler for a root Python module
reticulate

R Interface to Python
py_capture_output

Capture and return Python output
tuple

Create Python tuple
py_str

An S3 method for getting the string representation of a Python object
py_help

Documentation for Python Objects
with.python.builtin.object

Evaluate an expression within a context.
py_is_null_xptr

Check if a Python object is a null externalptr
register_suppress_warnings_handler

Register a handler for calls to py_suppress_warnings
py_set_seed

Set Python and NumPy random seeds
py_run

Run Python code
py_set_attr

Set an attribute of a Python object
np_array

NumPy array