genmeblog

Results 88 comments of genmeblog

Ok, the main issue with you function is that `base` package is not available during function compilation. It's created in `require-r`. So function this function cannot work and can't even...

Ok, I leave it open. Yes, it's hard to write external helper functions since symbols are not available before requiring them in the live session. Maybe something like `cljsjs` can...

Thanks for the idea. I believe that when we decouple session from robjects all of this will be possible. What I see is that packages can differ between R version...

It's not as easy as it looks. There is stuff which often operate on symbolic level (like formulas). Also if you want to create R function from Clojure you have...

We escape using tick or backtick.

I think I'm missing something. How the last example is going to produce given above string?

`dplyr/filter` doesn't take anonymous function, it takes symbolic predicate: https://dplyr.tidyverse.org/reference/filter.html Did you test your code and is it working?

We had a discussion with @daslu about using symbols (tick/backtics) or maybe use macros to mimic functional behaviour. And I agreed that parsing symbolic forms by `clojisr` instead of providing...

But it's done: `(r+ 1 2)` does it exactly as you described. I don't agree that main use-case is calling a functions but also accessing the vars with different types...

I believe that we can expose only one namespace as the entry point for users, currently: `clojisr.v1.r` and move there `require-r` function. The rest namespaces are implementation layers and shouldn't...