[R] R and Ox?

David Firth david.firth at nuffield.oxford.ac.uk
Wed May 2 10:35:07 CEST 2001

Philippe Grosjean wrote (in reply to Jason Liao):

>It is well-known that matrix calculation is much faster than loops in a
>matrix calculation package (!) and R is one. I am surprised that apply() is
>slower than for loops. Unfortunatelly, matrix algorithm does not always
>exist. An alternative being to use C or fortran code which are much faster
>in loops. I personnally use another method which does not require so much
>change in the code and keep the advantage of matrix calculation where
>required, while speeding up loops by at least a factor 10: I transfer
>calculation to Ox, a very fast, light-weight matrix calculation package. You
>should find a reference to this package on the web.

Is there a good way to organize co-operation between R and Ox? 
(incidentally, Ox is at http://www.nuff.ox.ac.uk/Users/Doornik/)

David Firth                        Phone +44 1865 278544
Nuffield College                   Fax   +44 1865 278621
Oxford OX1 1NF                     Secretary +44 1865 278553
United Kingdom                     Email david.firth at nuffield.ox.ac.uk

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list