data-science

Data science, data analysis, and machine learning in Clojure https://scicloj.github.io/pages/chat_streams/ for additional discussions
2019-10-12T13:02:05.004Z

Any example? :) [yes, numpy xD]. I need to do the same for fastR

2019-10-12T15:46:24.004700Z

The current example with R is what we do here: https://github.com/scicloj/clojuress/blob/master/src/clojuress/packages/stats.clj

chrisn 2019-10-12T15:48:46.005400Z

'eval list def s a' 🙂

chrisn 2019-10-12T15:48:50.005600Z

That is pretty fun.

chrisn 2019-10-12T15:49:45.006Z

Do the docstrings come across?

2019-10-12T16:23:19.007Z

No, and the arities of functions do not come across either. We just define a plain [& args] function: https://github.com/scicloj/clojuress/blob/master/src/clojuress.clj#L279

2019-10-12T16:24:00.007700Z

It seems important to do better, for tooling, etc. Related discussion at Zulip: https://clojurians.zulipchat.com/#narrow/stream/204621-r-interop/topic/R.20functions.20as.20Clojure.20functions