Fork me on GitHub
#data-science
<
2020-01-20
>
Santiago20:01:34

rstats peeps, is there a nice equivalent of clojure’s (thread & body) in R? I’ve never read that much about concurrent async in R. I know there are promises but didn’t go deep. Looking for any shortcuts you can offer me ;D

aaelony16:01:18

I would say no, not really. There is syntax for thread-first via the magrittr package. (https://magrittr.tidyverse.org/) and various approaches to concurency (e.g. https://stat.ethz.ch/R-manual/R-devel/library/parallel/html/mclapply.html)

👍 4