Not worse, nor better, just different cases and applications. R has a strong academic community, lot’s of papers have implementations in R packages by the authors. Python integrate better with other tools, and has a larger scope of applications. You wouldn’t build a server in R for instance.