Question: why r instead of python?
Answer: R and Python are both open-source programming languages with a large community. New libraries or tools are added continuously to their respective catalog. R is mainly used for statistical analysis while Python provides a more general approach to data science. ... Python is a general-purpose language with a readable syntax.