3 ms·
RE python in Rmarkdown being limited... > The Python session ends after the cell executes, making it unhelpful for tasks other than ad hoc scripts. This isn't
by closed 8y ago
RE python in Rmarkdown being limited...
> The Python session ends after the cell executes, making it unhelpful for tasks other than ad hoc scripts.
This isn't the case anymore thanks to the reticulate library.
https://blog.rstudio.com/2018/03/26/reticulate-r-interface-to-python/ https://blog.rstudio.com/2018/03/26/reticulate-r-interface-t...
- nerdponx 8y agoReticulate was a major improvement in the data science workflow. We now have full interoperability between R, Python, and Julia (or Scala if you're on Spark). The ability to mix languages is really valuable.
- cauthon 8y agoWhat would be the equivalent package for Julia?
- ChrisRackauckas 8y agoWeave.jl
- nerdponx 8y agoPyCall.jl can call Python from Julia. On the downside, it has a lot of problems and there doesn't seem to be enough dev effort to match.
- cauthon 8y agoIs there an equivalent library for Julia?
- minimaxir 8y agoOP here: reticulate isn't native to R Studio yet (it's in the insider build), but will be interesting to see what happens with adoption then.