Python to R
2
0
Entering edit mode
22 months ago
vschultz • 0

Hi!

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

python R CODE Script Convert • 451 views
ADD COMMENT
0
Entering edit mode

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

ADD REPLY
2
Entering edit mode
22 months ago
russhh 5.6k

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
22 months ago
zx8754 10k

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: 2241 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