Run R Code in Python with rpy2

Поделиться
HTML-код
  • Опубликовано: 9 фев 2025
  • Today we learn how we can run R code in Python using a package called rpy2.
    ◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
    📚 Programming Books & Merch 📚
    🐍 The Python Bible Book: www.neuralnine...
    💻 The Algorithm Bible Book: www.neuralnine...
    👕 Programming Merch: www.neuralnine...
    💼 Services 💼
    💻 Freelancing & Tutoring: www.neuralnine...
    🌐 Social Media & Contact 🌐
    📱 Website: www.neuralnine...
    📷 Instagram: / neuralnine
    🐦 Twitter: / neuralnine
    🤵 LinkedIn: / neuralnine
    📁 GitHub: github.com/Neu...
    🎙 Discord: / discord

Комментарии • 11

  • @ahmed007Jaber
    @ahmed007Jaber 28 дней назад +2

    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++

  • @joemcdermott1213
    @joemcdermott1213 Год назад +2

    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.

  • @chaitanyatuckley4666
    @chaitanyatuckley4666 2 месяца назад

    Thanks a lot.

  • @Nxck2440
    @Nxck2440 Год назад +1

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

  • @lpedroza
    @lpedroza Год назад

    Thank you. I need it...

  • @sinan_islam
    @sinan_islam 10 месяцев назад

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

  • @VictorRochaGx
    @VictorRochaGx 6 месяцев назад

    Thanks!

  • @jbhender09
    @jbhender09 Год назад +3

    reticulate to run python from R is SOOOOO much better than r2py

  • @dertfert745
    @dertfert745 11 месяцев назад +1

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

  • @mentalverse7837
    @mentalverse7837 Год назад

    Twitter integration with its api please..