| I use both python and R almost every day. Although I like R and often use R to quickly order tabulated data, there are a few things to take into account that in recent times are building a strong case for me not to use R habitually. Development in R is frustrating. If you don't need to do dev, then on this point you are home free. Testing things that you deploy in R is not simple. Scripting in R can be frustrating. I have a script that traverses Excel files and using tryCatch() is just so much more complicated with it being a function. In Python the try-catch functionality is part of the design syntax. There are scenarios where R is better. If you are in actuarial science, research or academics then often you'll find R libraries that just work. R treats tabular data with grace. Everything in R is an array. The takeaway for me is that I should use R less and Python more. I personally can't deal with something like tryCatch() being overcomplicated, but for people who don't do dev anyway and maybe need to analyse DNA sequences for a living, R can be rewarding. For me: the ggplot2 library is great; stay away from Shiny and dev in R. |