Fork me on GitHub
#data-science
<
2020-03-31
>
grumplet08:03:54

I was interested to see that Rmarkdown’s knitr now has a clojure language engine going under the moniker ‘lein’. Apart from listing it’s existence I haven’t seen any documentation in the R world, so thought I’d ask here. Does anyone know anything more about this feature?

chrisn21:03:34

@grumplet - I think the people who would know most about this subject can be found here: https://clojurians.zulipchat.com/#narrow/stream/204621-r-interop And they would love to talk to you about it 🙂.

Daniel Slutsky21:03:56

@grumplet @chris441 thanks! Now I'm curious too. I'll try to understand what it is about. Edit: curious, not furious

😁 4
Daniel Slutsky22:03:56

It seems that the lein knit engine was kindly added by knitr's author Yihui Xie long time ago, without being aware too much of Clojure habits and problems. It seems to run a new lein process for every lein block, rather than keeping a clojure process to communicate with. I know someone who tried to wrie a more complete solution based on nrepl protocol, but this has never become a library (yet). @grumplet do you imagine it could be useful?