reticulate v1.15

0

Monthly downloads

0th

Percentile

Interface to 'Python'

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.

Functions in reticulate

Name Description
miniconda_path Path to Miniconda
py_del_item Delete / remove an item from a Python object
py_config_error_message Build Python configuration error message
py_ellipsis The builtin constant Ellipsis
py_discover_config Discover the version of Python to use with reticulate.
py_has_attr Check if a Python object has an attribute
py_available Check if Python is available on this system
py_install Install Python packages
py_get_item Get an item from a Python object
dict Create Python dictionary
py_call Call a Python callable object
miniconda_update Update Miniconda
use_python Configure which version of Python to use
py_is_null_xptr Check if a Python object is a null externalptr
py_save_object Save and load Python objects with pickle
py_run Run Python code
virtualenv-tools Interface to Python Virtual Environments
py_set_item Set an item for a Python object
py_suppress_warnings Suppress Python warnings for an expression
py_capture_output Capture and return Python output
with-as-operator Create local alias for objects in with statements.
py_func Wrap an R function in a Python function with the same signature.
py_to_r_wrapper R wrapper for Python objects
py_set_seed Set Python and NumPy random seeds
np_array NumPy array
py_get_attr Get an attribute of a Python object
py_config Python configuration
register_class_filter Register a filter for class names
py_iterator Create a Python iterator from an R function
py_len Length of Python object
register_help_topics Register help topics
py_last_error Get or clear the last Python error encountered
py_function_wrapper Scaffold R wrappers for Python functions
py_help Documentation for Python Objects
py_main_thread_func Create a Python function that will always be called on the main thread
py_function_custom_scaffold Custom Scaffolding of R Wrappers for Python Functions
py_unicode Convert to Python Unicode Object
py_id Unique identifer for Python object
py Interact with the Python Main Module
py_list_attributes List all attributes of a Python object
tuple Create Python tuple
py_module_available Check if a Python module is available on this system.
py_set_attr Set an attribute of a Python object
py_str An S3 method for getting the string representation of a Python object
reticulate R Interface to Python
r-py-conversion Convert between Python and R objects
register_module_help_handler Register a help handler for a root Python module
repl_python Run a Python REPL
source_python Read and evaluate a Python script
with.python.builtin.object Evaluate an expression within a context.
register_suppress_warnings_handler Register a handler for calls to py_suppress_warnings
py_versions_windows Discover versions of Python installed on a Windows system
PyClass Create a python class
install_miniconda Install Miniconda
import Import a Python module
eng_python A reticulate Engine for Knitr
configure_environment Configure a Python Environment
iterate Traverse a Python iterator or generator
as.character.python.builtin.bytes Convert Python bytes to an R character vector
conda-tools Interface to conda
array_reshape Reshape an Array
No Results!

Vignettes of reticulate

Name
images/python_chunks.png
images/python_version.png
images/r_from_python.png
images/reticulate_disable.png
images/reticulate_enable.png
images/rmarkdown_engine_zoomed.png
arrays.Rmd
calling_python.Rmd
extra.css
package.Rmd
python_dependencies.Rmd
python_packages.Rmd
r_markdown.Rmd
versions.Rmd
No Results!

Last month downloads

Details

Type Package
License Apache License 2.0
URL https://github.com/rstudio/reticulate
BugReports https://github.com/rstudio/reticulate/issues
SystemRequirements Python (>= 2.7.0)
Encoding UTF-8
LazyData true
LinkingTo Rcpp
RoxygenNote 7.1.0
VignetteBuilder knitr
NeedsCompilation yes
Packaged 2020-04-02 19:20:56 UTC; kevinushey
Repository CRAN
Date/Publication 2020-04-02 20:00:02 UTC

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/reticulate)](http://www.rdocumentation.org/packages/reticulate)