Python to R
2
0
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?

python R • 1.1k views
ADD COMMENT
0
Entering edit mode

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

ADD REPLY
2
Entering edit mode
5.0 years ago
russhh 5.7k

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)

ADD COMMENT
1
Entering edit mode
5.0 years ago
zx8754 12k

No, see: Convert Python to R

But, you could call python code from R or R code from Python.

ADD COMMENT

Login before adding your answer.

Traffic: 2009 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6