3 ms·
This looks pretty interesting. I am currently implementing DS workflows that are essentially python classes to orchestrate R scripts. I'll have a closer look on
by L_226 8y ago
This looks pretty interesting. I am currently implementing DS workflows that are essentially python classes to orchestrate R scripts. I'll have a closer look on Monday but if I can use it to handle rpy2 R format data I'll be happy
- altairiumblue 8y agoI've been wondering about this - why would you pass data from one language to the other? If you already have existing R code, you can easily manage it through R itself.
- L_226 8y agoI suppose we could have written an R API to serve ML results directly, but there are a lot of other auxiliary tasks needed like protobuf handling, AWS integration and some other business logic that means python makes more sense. The quickest way to make it work was to wrap the ML scripts (and they really are __scripts__, not even functions..) in python and just handle everything outside of R. I think eventually we will just re-implement the ML stuff in python anyway.
- perturbation 8y agoAre you using reticulate (https://github.com/rstudio/reticulate https://github.com/rstudio/reticulate), or having Python spawn a new worker process for R?
- L_226 8y agoWe have python spawn processes for R.