Carsten Behring

Results 517 comments of Carsten Behring

@genmeblog I have a first versin of a working conversion to tensor. See here for test: https://github.com/scicloj/clojisr/blob/79866c2ffb5a12c2b6f3904ad6525c95336e2d16/src/clojisr/v1/r.clj#L242 Maybe have a quick look at the flow of the "options"

I have not checked if the "order" of elements is correct.

I have the impression that this ns tech.v3.tensor.dimensions contains the right functions to "convert" in one go from the "matrix data as seq" as we get it from (prot/->clj exp)...

@genmeblog I noticed that for R arrays we alreday get a flat vector from REngine. Is it somehwere documented whats the order of this is in case of multidimensional arrays...

For reference: https://cran.r-project.org/web/packages/reticulate/vignettes/arrays.html

when the other tow pRs are merged, I look again into this one

I removed the duplication of the help logic. Not 100% sure, if I pass the "session" around correctly. But it does work now. BUT its slow. It increases quite a...

Can be used like this: ``` (reset! clojisr.v1.require/attach-help-as-docstring-to-vars true) (r/require-r '[ggplot2]) (r/require-r '[ranger]) (r/require-r '[base]) ``` Help generation is as well memoized, so at least fast on second call

It does work as well for Calva, not sure why it failed as I tried.