reticulate: R interface to Python

blog.rstudio.com

This is super-cool. From RStudio:

We are pleased to announce the reticulate package, a comprehensive set of tools for interoperability between Python and R. The package includes facilities for:
  • Calling Python from R in a variety of ways including R Markdown, sourcing Python scripts, importing Python modules, and using Python interactively within an R session.
  • Translation between R and Python objects (for example, between R and Pandas data frames, or between R matrices and NumPy arrays).
  • Flexible binding to different versions of Python including virtual environments and Conda environments.

My favorite usage so far: building Shiny apps that include Python!

Read more...
Linkedin

Want to receive more content like this in your inbox?