Entering edit mode
5.0 years ago
vschultz
•
0
Hi!
I wrote a script in python but is there any way to convert the Python to R?
Hi!
I wrote a script in python but is there any way to convert the Python to R?
You could use reticulate https://rstudio.github.io/reticulate/ or rpy2 https://rpy2.readthedocs.io/en/version_2.8.x/ and not need to convert the code (... much)
No, see: Convert Python to R
But, you could call python code from R or R code from Python.
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Could you share the script? How many rows is it?