Run R Code in Python with rpy2

preview_player
Показать описание
Today we learn how we can run R code in Python using a package called rpy2.

◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
📚 Programming Books & Merch 📚

💼 Services 💼

🌐 Social Media & Contact 🌐
Рекомендации по теме
Комментарии
Автор

thank you for this. how would i get rpy2 to be installed
it drove me crazy still throwing errors and i have R, Python and c++

ahmedJaber
Автор

It's interesting but I wonder how often this is going to be more efficient to use compared to running separately, as R is faster than Python. On another note, I wouldn't say R isn't suitable for machine learning. While much less popular, it's not more difficult or less effective than ML in sklearn. In many cases it works better. Like the popular random forest algorithm, which you might expect is the same, is routinely reported to produce better performance results with the R randomForest package than in sklearn with the same data setup.

joemcdermott
Автор

How reliable is this rpy2 package? Is it reliable in production?

sinan_islam
Автор

I want to learn R, will you make a tutorial?

Nxck
Автор

I cant even do import rpy2.robjects as robjects no matter how much I try fixing my path

dertfert
Автор

reticulate to run python from R is much better than r2py

jbhender
Автор

Twitter integration with its api please..

mentalverse