Install the development version with:
np_array function for creating NumPy arrays and converting the data type, dimensions, and in-memory ordering of existing NumPy arrays.
length functions for NumPy arrays
py_set_seed function for setting Python and NumPy random seeds.
Search in additional locations for Anaconda on Linux/Mac
Improved support for UTF-8 converstions (always use UTF-8 when converting from Python to R
Ignore private (“_" prefixed) attributes of dictionaries for .DollarNames
dict() function to accept keys with mixed alpha/numeric characters
conda_list() to discover conda environments on Windows (slower but much more reliable than scanning the filesystem)
Add interface for registering F1 help handlers for Python modules
Provide virtual/conda env hint mechanism for delay loaded imports
Search WORKON_HOME (used by virtualenv_wrapper) for Python environments
priority field for delay loaded modules.
Use json output from conda_list (handle spaces in path of conda env)
Look for callable before iterable when converting Python objects to R
Correct propagation of errors in R functions called from Python
Support for generators (creating Python iterators from R functions)
completed value for
Support for converting 16-bit floats (NPY_HALF) to R
Don’t throw error when probing Python <= 2.6
Copy Python dictionary before converting to R named list (fixes issue with dictionaries that are mutated during iteration, e.g. sys.modules)
Ensure that existing warning filters aren’t reset by py_suppress_warnings
Detect older versions of Anaconda during registry scanning.
Don’t probe python versions on windows when no executable is found
Poll for interrupts every 500ms rather than 100ms
Provide sys.stdout and sys.stderr when they are None (e.g. in R GUI)
Add Scripts directory to PATH on Windows
Add iter_next function for element-by-element access to iterators
Eliminate special print method for iterators/generators
py_help() function for printing documentation on Python objects
dict() parent frames for symbols; only use symbols which inherit from python.builtin.object as keys.
import_from_path() function for importing Python modules from the filesystem.
py_discover_config() function to determine which versions of Python will be discovered and which one will be used by reticulate.
py_last_error() function for retreiving last Python error.
Convert 0-dimension NumPy arrays (scalars) to single element R vectors
Convert “callable” Python objects to R functions
Automatically add Python bin directory to system PATH for consistent version usage in reticulate and calls to system
length() method for tuple objects
Enable specification of
__name__ for R functions converted to Python functions.
Give priority to the first registered delay load module (previously the last registered module was given priority)
Add additional safety checks to detect use of NULL xptr objects (i.e. objects from a previous session). This should mean that S3 methods no longer need to check whether they are handling an xptr.
py_eval() function for evaluating simple Python statements.
PyImport_Import rather than
on_error functions for
Scan customary root directories for virtualenv installations
[[ operator (zero-based to match Python style indexing)
conda_* family of functions for using conda utilities from within R.
Implement comparison operators (e.g.
>=, etc.) for Python objects
names() generic for Python objects
Improve performance for marshalling of large Python dictionaries and iterators that return large numbers of items.
str methods for Python List, Dict, and Tuple (to prevent printing of very large collections via default
grepl() rather than
endsWith() for compatibility with R <= 3.2
inspect.getmro rather than
__bases__ for enumerating the base classes of Python objects.
UNPROTECT issue detected by CRAN
Correct converstion of strings with Unicode characters on Windows
Fix incompatibility with system-wide Python installations on Windows
Fix issue with Python dictionary keys that shared names with
primitive R functions (don’t check environment inheritance chain when looking for dictionary key objects by name).
convert parameter for modules with