News for hackers. Stuff that matters.
Re:Will R Work on Apple Silicon? by kzrdude on Wednesday November 11, 2020 @06:37PM (#25064335)
Can you "import R" in python? Sounds like that would be best.
Re:Will R Work on Apple Silicon? by goatinaboat on Thursday November 12, 2020 @12:37PM (#25072289)
Call Python from R: https://cran.r-project.org/web/packages/reticulate/vignettes...

Calling R from Python: 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.

Re:Will R Work on Apple Silicon? by kzrdude on Friday November 13, 2020 @01:06PM (#25085372)
Haha, 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/i...