[R-SIG-Mac] How to Speed up R on the G5

Douglas Bates bates at stat.wisc.edu
Tue Feb 8 09:38:45 CET 2005


Regarding the question of whether veclib is parallelized, I'm reasonably 
sure that it is.  A few months ago I compiled a version of R using 
veclib for the BLAS and ran a simple timing test on a matrix crossproduct.

mm <- matrix(rnorm(9e6), nc = 3000)
system.time(crossprod(mm), gc = TRUE)
system.time(crossprod(mm), gc = TRUE)
system.time(crossprod(mm), gc = TRUE)

I found on a dual processor system that the elapsed time was about half 
the user CPU time.

I don't have access to that machine right now but I should be able to do 
such a test again next week or perhaps Michael Redmond can do it this week.



More information about the R-SIG-Mac mailing list