3 ms·
Call Python from R: https://cran.r-project.org/web/packages/reticulate/vignettes/calling_python.html https://cran.r-project.org/web/packages/reticulate/vignette
by goatinaboat 6y ago
Call Python from R: https://cran.r-project.org/web/packages/reticulate/vignettes/calling_python.html https://cran.r-project.org/web/packages/reticulate/vignettes...
Calling R from Python: https://pypi.org/project/rpy2/ https://pypi.org/project/rpy2/
I'm not sure I'd ever mix the two directly myself; I'd compose my application as separate R and Python communicating somehow. It seems cleaner.
- kzrdude 6y agoHaha, what you said made me think: sagemath! And sure enough it has something to tie in R too, truly connecting everything in a big nest: https://doc.sagemath.org/html/en/reference/interfaces/sage/interfaces/r.html https://doc.sagemath.org/html/en/reference/interfaces/sage/i...