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.0 ms ] story [ 18.9 ms ] threadThe bottleneck is still converting that pandas DataFrame to an R data.frame efficiently.