E.g., one could do some data wrangling in R, save the objects, run a Python script that does some machine learning nonsense, then take the output of that back into R for plotting, all in one ...