R or Python: Which Should You Learn in 2024?

Sdílet
Vložit
  • čas přidán 1. 06. 2024
  • Subscribe to RichardOnData here: / @richardondata
    In this video we're revisiting the R vs Python comparison in the year 2024. How do they stand in recent job reports and in indices like PyPL or the TIOBE index?
  • Věda a technologie

Komentáře • 33

  • @johneagle4384
    @johneagle4384 Před 4 měsíci +8

    Both, but I am biased towards R.

  • @blaisepascal3905
    @blaisepascal3905 Před 2 měsíci +1

    Hi I have watched one of your video comparing R and Python a few year ago. At that time, I started learning Python. Then following your advices I learned R (that I really love). I would say that R is prefered for people with a math/stat background. Then I learned Julia and Nim for perfromance. Overall your advice helped me a lot, thank you!

  • @AM-ze4hr
    @AM-ze4hr Před 4 měsíci

    Yes, have to live in both worlds since I am still in school but I have to say I am definitely doing more in Python now that I have been deep diving into ML and AI. The course I am taking in Natural Language Processing is definitely just Python based because of NLTK. Looking forward to your next videos and just keep them coming. Best to you and yours.
    The Angry Statistician.

  • @nikhilmuthukrishnan7222
    @nikhilmuthukrishnan7222 Před 4 měsíci +6

    For me the problem with Python was the comp science knowledge that becomes almost mandatory to move forward. Whereas in R, the quality of tutorials and the IDE make it such that you don't need to know a lot of CS knowledge to get the most out of it. I personally believe as a non CS grad python will get surprisingly difficult as you get further along.
    Also as for the popularity ratings, Baby shark was the most popular CZcams video doesn't mean everybody should watch it, just meant the kids loved it. So my point is popularity doesn't mean most important. Remember, the world ran just fine before Python came along.
    The "popularity" could just be fresh grads searching for tutorials and not mission critical infrastructure.

  • @Rollacoastertycoon
    @Rollacoastertycoon Před 4 měsíci +5

    I have friends who are data scientist and a lot of them us R as well as the college phd students etc. python is like for everyone and everything

  • @moviezone8130
    @moviezone8130 Před 20 dny

    I'm a newbie of R and I like it. Thanks for the great video.

  • @Antowan
    @Antowan Před 9 dny

    My university economics program uses R. I learned both for obvious reasons

  • @samritpramanik2962
    @samritpramanik2962 Před 4 měsíci +16

    R is the best

    • @data-science-ai
      @data-science-ai Před měsícem +1

      The language is pure liquid shit but unfortunately is a necessity in data science.

  • @alexwa9959
    @alexwa9959 Před 4 měsíci

    asking for comments could boost your visabilty too.
    i am not 100% certain, but a lot of youtubers ask for them and so it migth be a booster as well

  • @ron101346
    @ron101346 Před měsícem

    If you're in healthcare or pharma, the other language to know is SAS. I know, it's old hat, but it has a simple syntax, a rich macro language and it is certified for use in FDA-regulated industries.

  • @os2171
    @os2171 Před 2 měsíci

    I’m a neurobiologist PhD… I’ve been using R for years and I’m aiming to work outside academia, now I’m learning python and isn’t that straight forward to me perhaps due to school bias… but python seems to be the norm outside academia and that’s why I’m trying to learn.

  • @dimitrioskioroglou4316

    For me the greatest difference between the two languages is the mentality. R users are taught basic programming fundamentals and learn that for every solution there is a package they can use. Python users are taught programming first and how the language is used to create packages. So R users learn to use the language at a higher level, and when they go deeper then things get messy. Also in 2024 I wouldn't keep putting labels such as R for statistics and Python general purpose etc. This kind of labels is absolutely nonsense.

  • @KEVWITHTHESS
    @KEVWITHTHESS Před 4 měsíci +1

    So I’m in a MS business analytics degree, and we had the opportunity to learn R programming. So I learned it, still learning it as we speak and becoming really efficient and effective at it as I go on Kaggle and practice with different types of datasets.
    But so many companies are requiring Python. I just came to the conclusion that im not going to overwhelm myself and just stick with R and SQl and just say it is what it is. I’m not Superman out here, and these companies must stop acting like Gods and show some flexibility

  • @eduminsky
    @eduminsky Před 3 měsíci +1

    For me, my preferred language for data analysis, modeling and plotting is definitely R. But when it comes to web scraping, specifically using selenium, Python is much better

    • @blaisepascal3905
      @blaisepascal3905 Před 2 měsíci

      True, Selenium in Python works better than RSelenium. In R I would recommand hayalbaz for web browser automation using Chromote (but rvest will soon have that too). In Python, Playwrights is amazing!

  • @majukanumi9639
    @majukanumi9639 Před 4 měsíci +2

    the same video you did last year i think R or Python it depends of the jobs will achieve ..R i think stay alive for longer ...python is everywhere and all the experts use python maybe easy or i dont know open source or something else

    • @RichardOnData
      @RichardOnData  Před 4 měsíci +1

      Yeah R has a passionate development community and isn’t going anywhere, soon at least.

  • @valentinovazzoler
    @valentinovazzoler Před 4 měsíci +2

    I'm pretty much an R user but I too would suggest Python to someone new.
    But the popularity and usage is also a self fulfilling prophecy. R as said is for statisticians while python includes way more people.
    And ChatGPT will only expand this preference as the training model has more examples with Python. It's way easier to obtain an hallucinations for R.
    So is R useless ? Hell no, as Richard said it's more entry level and some categories like biostatisticians or doctors will have less issues with R
    Also when not doing ML, R is way more "reproducible-friendly" with the tidyverse
    A one-time analysis or exploratory analysis is way faster to write
    But of course that's from someone using both languages and biased
    ---
    Still the message is:
    For a general user Python is king
    But some people shouldn't dismiss R
    It all depends on the work activities

    • @axlknightwhosaysni5336
      @axlknightwhosaysni5336 Před 4 měsíci

      It's also worth adding that R is much better developed in fields of classic statistics and ML as well as econometrics. Thus it very popular (equally or even more than python) in financial fields like f.e. credit risk.

    • @josecarlosreyes4116
      @josecarlosreyes4116 Před 4 měsíci +1

      Greta comparison. I'm a pythonista considering jumping to a second language!. Which-one should I choose, R or Julia?

    • @RichardOnData
      @RichardOnData  Před 4 měsíci +3

      I like Julia but unless you’re specifically doing scientific computing where speed is of the utmost importance, I’d learn R as your second language.

    • @axlknightwhosaysni5336
      @axlknightwhosaysni5336 Před 4 měsíci

      @@RichardOnData Isn't it like Julia has some computation problems? I'm on community's discord and sometimes I see posts about problems with the language itself.

  • @Xnozea
    @Xnozea Před 4 měsíci +2

    Very objective take. As much as I love R I am seeing myself using Python a lot more. Especially for MLOps. Python is such a nice glue language that you have to use it eventually.

    • @RichardOnData
      @RichardOnData  Před 4 měsíci +1

      You really do. To me, not being strong in Python is unsustainable in a data science career long term.

  • @mugomuiruri2313
    @mugomuiruri2313 Před 4 měsíci

    r is for data scientists while python is for general like games etc.mugo and data data and mugo

  • @kschen1620
    @kschen1620 Před měsícem

    i like R

  • @TalsBadKidney
    @TalsBadKidney Před měsícem

    Julia is the light and the way

  • @devendraparmar7068
    @devendraparmar7068 Před 4 měsíci

    R

  • @shantube75
    @shantube75 Před 3 měsíci

    I wish perl, the regex 👑 king, was still in the race. But, Python is definitely the bigger bang for the kind buck now!

  • @jdean1295
    @jdean1295 Před 2 měsíci

    Python syntax feels very clunky for getting the job done. R just makes sense, but I have an econometrics background, not cs