data-science

Data science, data analysis, and machine learning in Clojure https://scicloj.github.io/pages/chat_streams/ for additional discussions
grumplet 2020-03-31T08:11:54.045800Z

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?

chrisn 2020-03-31T21:21:34.048700Z

@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 🙂.

2020-03-31T21:25:56.050100Z

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

😁 1
2020-03-31T22:23:56.055300Z

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?