News for hackers. Stuff that matters.
Re:R, the master troll of statistical languages (2012) by gmac on Wednesday March 27, 2013 @04:03PM (#5451652)
R has a million related built-in functions like sapply(), tapply(), lapply(), and vapply()

Exactly that. I've always found R a horribly confusing mess, compared to general programming languages (I'm proficient in Ruby, JS, Obj-C).

On the other hand, compared to some of the other commercial stats packages, it's beautiful and logical and reasonable. I regularly use Stata, where you're only allowed one data table in memory at once, and almost everything relies on side effects and Byzantine macros. E.g want to calculate a mean? First, 'summarise' the variable, then assign 'r(mean)' to a var name, then quote that the right way to be substituted into an expression where it's needed.

There are no comments on this comment yet.