Package: reticulate 1.38.0.9000

Tomasz Kalinowski

reticulate: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.

Authors:Tomasz Kalinowski [ctb, cre], Kevin Ushey [aut], JJ Allaire [aut], RStudio [cph, fnd], Yuan Tang [aut, cph], Dirk Eddelbuettel [ctb, cph], Bryan Lewis [ctb, cph], Sigrid Keydana [ctb], Ryan Hafen [ctb, cph], Marcus Geelnard [ctb, cph]

reticulate_1.38.0.9000.tar.gz
reticulate_1.38.0.9000.zip(r-4.5)reticulate_1.38.0.9000.zip(r-4.4)reticulate_1.38.0.9000.zip(r-4.3)
reticulate_1.38.0.9000.tgz(r-4.4-arm64)reticulate_1.38.0.9000.tgz(r-4.4-x86_64)reticulate_1.38.0.9000.tgz(r-4.3-arm64)reticulate_1.38.0.9000.tgz(r-4.3-x86_64)
reticulate_1.38.0.9000.tar.gz(r-4.5-noble)reticulate_1.38.0.9000.tar.gz(r-4.4-noble)
reticulate.pdf |reticulate.html
reticulate/json (API)
NEWS

# Installreticulate in R:
install.packages('reticulate',repos = c('https://rstudio.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/rstudio/reticulate/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

105 exports 1.6k stars 12.25 score 11 dependencies 372 dependents 10 mentions 290.3k downloads

Last updated 8 days agofrom:740169ae2a

Exports:%as%array_reshapeas_iteratorconda_binaryconda_cloneconda_createconda_execonda_exportconda_installconda_listconda_pythonconda_removeconda_searchconda_updateconda_versioncondaenv_existsconfigure_environmentdicteng_pythonimportimport_builtinsimport_from_pathimport_maininstall_minicondainstall_pythonis_py_objectiter_nextiterateminiconda_pathminiconda_uninstallminiconda_updatenp_arraypypy_availablepy_boolpy_callpy_capture_outputpy_clear_last_errorpy_configpy_config_error_messagepy_del_attrpy_del_itempy_dictpy_discover_configpy_ellipsispy_evalpy_exepy_funcpy_function_docspy_function_wrapperpy_get_attrpy_get_itempy_has_attrpy_helppy_help_handlerpy_idpy_installpy_is_null_xptrpy_iteratorpy_last_errorpy_lenpy_list_attributespy_list_packagespy_load_objectpy_main_thread_funcpy_module_availablepy_nonepy_numpy_availablepy_reprpy_run_filepy_run_stringpy_save_objectpy_set_attrpy_set_itempy_set_seedpy_strpy_suppress_warningspy_to_rpy_to_r_wrapperpy_unicodepy_validate_xptrpy_versionpy_versions_windowsPyClassr_to_pyregister_class_filterregister_help_topicsregister_module_help_handlerregister_suppress_warnings_handlerrepl_pythonsource_pythontupleuse_condaenvuse_minicondause_pythonuse_python_versionuse_virtualenvvirtualenv_createvirtualenv_existsvirtualenv_installvirtualenv_listvirtualenv_pythonvirtualenv_removevirtualenv_rootvirtualenv_starter

Dependencies:herejsonlitelatticeMatrixpngrappdirsRcppRcppTOMLrlangrprojrootwithr

Arrays in R and Python

Rendered fromarrays.Rmdusingknitr::rmarkdownon Jun 28 2024.

Last update: 2023-01-07
Started: 2017-02-18

Calling Python from R

Rendered fromcalling_python.Rmdusingknitr::rmarkdownon Jun 28 2024.

Last update: 2023-08-15
Started: 2018-03-08

Installing Python Packages

Rendered frompython_packages.Rmdusingknitr::rmarkdownon Jun 28 2024.

Last update: 2023-07-25
Started: 2018-03-19

Managing an R Package's Python Dependencies

Rendered frompython_dependencies.Rmdusingknitr::rmarkdownon Jun 28 2024.

Last update: 2024-04-19
Started: 2019-10-15

Primer on Python for R Users

Rendered frompython_primer.Rmdusingknitr::rmarkdownon Jun 28 2024.

Last update: 2023-03-17
Started: 2022-01-11

Python Version Configuration

Rendered fromversions.Rmdusingknitr::rmarkdownon Jun 28 2024.

Last update: 2024-03-20
Started: 2017-05-01

R Markdown Python Engine

Rendered fromr_markdown.Rmdusingknitr::rmarkdownon Jun 28 2024.

Last update: 2023-01-07
Started: 2018-03-12

Using reticulate in an R Package

Rendered frompackage.Rmdusingknitr::rmarkdownon Jun 28 2024.

Last update: 2024-03-20
Started: 2017-04-28

Readme and manuals

Help Manual

Help pageTopics
S3 Ops Methods for Python Objects!.python.builtin.object !=.python.builtin.object %%.python.builtin.object %*%.python.builtin.object %/%.python.builtin.object &.python.builtin.object *.python.builtin.object +.python.builtin.object -.python.builtin.object /.python.builtin.object <.python.builtin.object <=.python.builtin.object ==.python.builtin.object >.python.builtin.object >=.python.builtin.object ^.python.builtin.object |.python.builtin.object
Reshape an Arrayarray_reshape
Traverse a Python iterator or generatoras_iterator iterate iter_next
Convert Python bytes to an R character vectoras.character.python.builtin.bytes
Conda Toolsconda-tools condaenv_exists conda_binary conda_clone conda_create conda_exe conda_export conda_install conda_list conda_python conda_remove conda_search conda_update conda_version
Configure a Python Environmentconfigure_environment
Create Python dictionarydict py_dict
A reticulate Engine for Knitreng_python
Import a Python moduleimport import_builtins import_from_path import_main
Install Minicondainstall_miniconda
Install Pythoninstall_python
Path to Minicondaminiconda_path
Remove Minicondaminiconda_uninstall
Update Minicondaminiconda_update
'nameOfClass()' for Python objectsnameOfClass.python.builtin.type
NumPy arraynp_array
Interact with the Python Main Modulepy
Check if Python is available on this systempy_available py_numpy_available
Python Truthinesspy_bool
Capture and return Python outputpy_capture_output
Get or (re)set the last Python error encountered.py_clear_last_error py_last_error
Python configurationpy_config
Delete an attribute of a Python objectpy_del_attr
Discover the version of Python to use with reticulate.py_discover_config
The builtin constant Ellipsispy_ellipsis
Evaluate a Python Expressionpy_eval
Python executablepy_exe
Wrap an R function in a Python function with the same signature.py_func
Custom Scaffolding of R Wrappers for Python Functionspy_function_custom_scaffold
Get an attribute of a Python objectpy_get_attr
Get/Set/Delete an item from a Python objectpy_del_item py_get_item py_set_item [.python.builtin.object [<-.python.builtin.object
Check if a Python object has an attributepy_has_attr
Documentation for Python Objectspy_help
Unique identifer for Python objectpy_id
Install Python packagespy_install
Check if a Python object is a null externalptrpy_is_null_xptr py_validate_xptr
Create a Python iterator from an R functionpy_iterator
Length of Python objectpy_len
List all attributes of a Python objectpy_list_attributes
List installed Python packagespy_list_packages
Create a Python function that will always be called on the main threadpy_main_thread_func
Check if a Python module is available on this system.py_module_available
The Python None objectpy_none
String representation of a python object.py_repr py_str
Run Python codepy_run py_run_file py_run_string
Save and Load Python Objectspy_load_object py_save_object
Set an attribute of a Python objectpy_set_attr
Set Python and NumPy random seedspy_set_seed
Suppress Python warnings for an expressionpy_suppress_warnings
Convert to Python Unicode Objectpy_unicode
Python versionpy_version
Create a python classPyClass
Convert between Python and R objectspy_to_r r-py-conversion r_to_py
Run a Python REPLrepl_python
Read and evaluate a Python scriptsource_python
Create Python tupletuple
Use Pythonuse_condaenv use_miniconda use_python use_python_version use_virtualenv
Interface to Python Virtual Environmentsvirtualenv-tools virtualenv_create virtualenv_exists virtualenv_install virtualenv_list virtualenv_python virtualenv_remove virtualenv_root virtualenv_starter
Evaluate an expression within a context.with.python.builtin.object