3 ms·
We’d love to call R from php or python. Incredibly good stats. We use the Rscript (To run r from command line) to generate graphs for the webs but to call dir
We’d love to call R from php or python. Incredibly good stats. We use the Rscript (To run r from command line) to generate graphs for the webs but to call directly would be nice.
We tried extracting some of the phyper code into a stand alone application, but not trivial.
Rpy2 should work, no?
And reticulate is really great for calling python from R
https://rstudio.github.io/reticulate/index.html https://rstudio.github.io/reticulate/index.html
I'll check it out. Thanks.
Yes. Reticulate is great for R to Python.
In case you need data handoffs between various processes, you might want to use an intermediate transition via a database, flat file, etc. It helped me get over few problems of passing data around.
https://rpy2.readthedocs.io/en/latest/ https://rpy2.readthedocs.io/en/latest/