I wrote a script in python but is there any way to convert the Python to R?
Could you share the script? How many rows is it?
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.
Login before adding your answer.
Use of this site constitutes acceptance of our User Agreement and Privacy