Hacker News new | ask | show | jobs
by closed 2957 days 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-t...

3 comments

Reticulate 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.
What would be the equivalent package for Julia?
PyCall.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.
Weave.jl
OP 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.

Is there an equivalent library for Julia?