4 ms·
honest question and I really don't want to start a language war, I just want to understand more. Why do you use R when you can use Python? I tryed R and I hate
by 100timesthis 12y ago
honest question and I really don't want to start a language war, I just want to understand more. Why do you use R when you can use Python? I tryed R and I hate it because for me it feels like something all patched together, without a principles behind. Is it like that for you as well but you need all those libraries or it's just me?
- jfolson 12y agoFor me, productivity. For maintaining large projects or building applications, I'd absolutely go with Scala or Python, but I cannot be as productive in other languages. R has performance issues, but once you know it, you can avoid them (see the recent dplyr benchmarks ~2x faster than pandas).
- 100timesthis 12y agothanks for the reply. I'm really not bothered with performance, at the end the difference is not that much anyway, what really horrify me is how is it programmed. I remember I wanted to do a statistical test and I could get back the sample size or the p-value calling the same function but with different arguments. I am not a programmer (learned doing my job) but that really disturbed me, even now, writing this. I guess it's just me, as it seems that R is getting more and more attention.
- hadley 12y agoIn my opinion the majority of code in R is extremely well suited to its domain. That means it does not look like the python code you are used to, and I'd recommend learning more about why R works the way it does, e.g. at http://adv-r.had.co.nz http://adv-r.had.co.nz