3 ms·
I use R for most of my statistical analysis, but have also used Python. Its an awful lot easier to get started with analysis in R, as its specialised for impor
by disgruntledphd2 15y ago
I use R for most of my statistical analysis, but have also used Python.
Its an awful lot easier to get started with analysis in R, as its specialised for importing data, running analyses and plotting. It also has methods for everything else one can imagine.
That being said, Python is friendly, intuitive and fun so I really like it as a language, but I don't want to have to re implement all of my R workflow (mostly psychometrics which isn't available in python).
Python is so much better for data manipulation tasks is not even funny. Sure, you can use readlines and reshape in R, but Python really excels at this sort of stuff.
If you have more of your stack in Python, then it probably looks like a better choice, and the ecosystem for general programming is much larger, but around statistical analysis R is where its at.
Most of the problems people are having with R (slow, single threaded) are not going to be greatly improved by moving to Python, while the advantages of R is that one can get people who know some statistical analysis to use this as a foundation to learn programming. I started with R, and now have completely gotten the programming bug. So maybe that's another advantage for R.