3 ms·
as a computer scientist and programming languages nerd, I think R is a much better language than Python (comparing the two only because Python is leading in the
by peoplefromibiza 4y ago
as a computer scientist and programming languages nerd, I think R is a much better language than Python (comparing the two only because Python is leading in the data science field)
I also believe that the tools available are superior, RStudio is very good IMO.
I wonder why R has such a bad reputation.
- kyllo 4y agoA lot of programmers dislike R for the same reason they dislike PHP: weak typing. If you can get over that, though, there's a lot to like about R. It's sort of like a hybrid between a Lisp and an array language.
- chaxor 4y agoIirc the scoping is also very strange. Certainly not as bad as mathematica, but bad nonetheless.
- mike_ivanov 4y agoWeak typing? No, it's not. R is a strongly typed language. > 1 + "string" Error in 1 + "str" : non-numeric argument to binary operator
- goatlover 4y agoJavascript and C also have weak typing. And Python isn't statically typed, it's just that like Ruby, it doesn't allow implicit conversion, except with numbers.
- bart_spoon 4y agoBecause it’s built around a very specialized set of needs (data manipulation, visualization, and statistical modeling), and it is essentially best in class at it, but it has quirks as a result. Anyone coming to R from a background in another language will feel those quirks intensely and assume it’s bad.