[Rd] Can you share a working example of R program aided by fast BLAS?

Allan Engelhardt allane at cybaea.com
Thu Aug 26 20:42:10 CEST 2010


On 19/08/10 19:49, Paul Johnson wrote:
> Can one of you give me an R program that displays the benefits an
> accelerated BLAS in R?
>    

I thought the standard benchmark was (the somewhat artificial) 
R-benchmark-25.R from 
http://r.research.att.com/benchmarks/R-benchmark-25.R .  I have some 
examples using this to show the benefit of an external (optimized, 
multi-threaded) BLAS at 
http://www.cybaea.net/Blogs/Data/Faster-R-through-better-BLAS.html .

(But I have also seen R run slower with external BLAS, e.g. with Radford 
Neal's benchmarks in a recent post here on “Speeding up matrix 
multiplies”.  YMMV.)

Allan



More information about the R-devel mailing list