Python
- Faster, Readable
- Data analysis
- Programmers preference
- Easier debugging
- Indentation is important so code end up looking organized and pretty
- Better when the data analysis task needs to be deployed on production server or integrated with web apps
R
- Better for Statistical analysis and graphical models
- Statisticians preference
- Complex models are redaily available
- Standalone statistical analysis run on dedicated servers
- Easier exploratory data analysis
Installing R - https://rud.is/b/2015/10/20/installing-r-on-os-x/