This is a pretty cool instance of running code together, but it doesn't look like you can interchange variables or data. The most common use case for needing to run Python and R together (IMO) is loading some data from Python and using a R library to do some analysis or graphing.
The bottleneck is still converting that pandas DataFrame to an R data.frame efficiently.
3 comments
[ 3.4 ms ] story [ 21.3 ms ] threadThe bottleneck is still converting that pandas DataFrame to an R data.frame efficiently.