Comment by _Wintermute
1 day ago
In my opinion R should thought of as an unbeatable graphical calculator, but an awful programming language.
1 day ago
In my opinion R should thought of as an unbeatable graphical calculator, but an awful programming language.
The tinyverse collection of packages makes things a lot more sane, IMO:
True, but trying to wrap any of that into a function rather than simple scripts makes you delve into the ever-deprecated API for non-standard evaluation.
That's how I view it. I still use R for plotting and quick stats analyses but it is painful to do any real work.
I recommend the article "Evaluating the Design of the R Language" [1] - it reads like a horror story. The memory usage and performance is abysmal, the OO features are a mess, and the semantics are very weird ("best effort semantics" is about as predictable as it sounds!). The lexical scoping is based on Scheme but has so many weird edge cases. It's a dumpster fire of a language, but it somehow works for its intended purpose.
[1] http://janvitek.org/pubs/ecoop12.pdf
i would compare base R to basically a shell. meant to be used interactively. okay for small scripts. you can write big programs but it will get weird.