2 ms·
"RStudio is to be commended for developing the reticulate package, to serve as a bridge between Python and R. It's an outstanding effort, and works well for pur
by IanCal 7y ago
"RStudio is to be commended for developing the reticulate package, to serve as a bridge between Python and R. It's an outstanding effort, and works well for pure computation. But as far as I can tell, it does not solve the knotty problems that arise in Python, e.g. virtual environments and the like."
I'm not sure I follow this, you can just set the interpreter.
I've started using rMarkdown more heavily, with reticulate & python for most data munging and r for plotting. Partly because I already know how to solve the problems I have in python more quickly than in R. The only thing I have against it at the moment is the debugging story isn't very nice by default, though I've not looked into how to improve this.
edit - if you've not looked into rmarkdown, I heartily recommend it. It is to me what the final output of notebooks should be. I can easily interleave code and descriptions, hide what I want, run it from scratch entirely as a default, and produce a range of outputs including interactive static webpages. Once web packaging is finally sorted, it'll be near perfect.