This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Python to R

Hi!

I wrote a script in python but is there any way to convert the Python to R?

python r

Could you share the script? How many rows is it?

2 answers

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.

Log in to answer this question.