Skip to content
Prev 133632 / 398498 Next

An "R is slow"-article

Gustaf Rydevik wrote:
The important aspect of R is not that it is less fast for a particular
kind of operation than a dedicated  program written in a compiled
language like C, Pascal, or Fortran for a particular kind of analysis.
  That is not really surprising, and not relevant for anything but the
most extreme situations given the speed (and low price) of modern
computers.

What is really relevant is (a) the context of any operation, R is a
well documented language where a very large number number of
operations may be combined in an extremely large number of ways where
the probability of errors is very low, and (b) all aspects of the
language is peer reviewed.

Both points are extremely important in any research context, where
everything, including the software used in computations, should be
possible to document.  These qualities are difficult to achieve in
homebrewed programs.  Therefore one should not resort to programming
anything on your own unless the operations you need are definitely not
present in the language you are using.  Apart from that, you have to
think about cost in respect to the time and resources used to develop
your own substitutes for something that already exists.

He also says that R encourages "fishing trips" in the data.  Well,
that may be somewhat true for R as well as any of the major
statistical packages.  But that is a problem that really is in a
different domain, one of attitudes on how to do research in the first
place.

Tom