reticulate 1.41.0
-
New
py_require()function for declaring Python requirements for
the current R session. For details, see updated vignettes and help:- Installing Python Packages: https://rstudio.github.io/reticulate/dev/articles/python_packages.html
- Using reticulate in an R Package: https://rstudio.github.io/reticulate/dev/articles/package.html
py_require()help: https://rstudio.github.io/reticulate/dev/reference/py_require.html
-
New
uv_run_tool()function for running command line tools distributed via Python packages. -
Raw R arrays and NumPy arrays with dtype "V1" ("void8") now convert between each other.
User_to_py(as.array(x))to efficiently convert raw vectors to NumPy arrays, and
py_to_r(array$view("V1"))to efficiently convert NumPy arrays to raw vectors. (#1734) -
Fixed an issue with using Python 3.12 on Linux (#1712, #1714).
-
Fixed an issue where
virtualenv_starter()would not discover a
custom built Python (#1704).