Fork me on GitHub
#data-science
<
2018-07-06
>
gigasquid10:07:02

A blog on the high level api for clojure mxnet http://gigasquidsoftware.com/blog/2018/07/05/clojure-mxnet-the-module-api/

upside_down_parrot 12
4
👏 4
🎉 4
ben15:07:17

Weird question: has anyone tried/had any luck calling clojure code from R?

ben15:07:34

I can find a couple of options for the reverse, but none for clojure from R. I suspect that mihgt be telling me something…

👍 4
jsa-aerial15:07:00

I would think that going over a socket interface between R and Clojure would be the simpler/better approach. Then use the transformers (between R dataframes/whatnot and Clj stuff) in http://github.com/jolby/rincanter . Of course this assumes the work over on Clj side swamps the network call overhead...

ben15:07:24

Thanks for the links, guys. Starting to think it may just be easier to work in clojure. Is gorilla-repl fully abandoned now?

jsa-aerial15:07:43

No, I wouldn't say it is fully abandoned, but there is now (I understand - haven't actually used it) reasonably good Clj for Jupyter notebooks

ben15:07:00

Ah that sounds great. Thank you for your help

Daniel Slutsky15:07:58

rincanter has been continued by @carsten.behring here: https://github.com/behrica/rojure. It is quite useful, but still have some holes to be filled.

Daniel Slutsky15:07:54

For calling clojure from R, it might be interesting to use the existing nrepl-client that was once written for R: https://github.com/vspinu/R-nREPL .

jsa-aerial22:07:10

Yeah, that does look interesting. Didn't even know about this.

Daniel Slutsky20:07:47

Maybe the author, @U6A2KEKKQ, may have further comments on experience calling clojure from R using R-nREPL.

sb13:07:30

thx the link! ps. I really like this project too http://rapache.net/ .. use R like PHP (not so secure.. but could create interesting integrations with other hands). I used few times in the past.