[Rd] Speeding up R (was Using multicores in R)

Prof J C Nash (U30A) nashjc at uottawa.ca
Tue Dec 4 14:57:42 CET 2012

For info, I put a little study I did about the byte code compiler and 
other speedup approaches (but not multicore) on the Rwiki at


which looks at a specific problem, so may not be relevant to everyone.
However, one of my reasons for doing it was to document the "how to" a 


>        2.  Have you tried the "compiler" package?  If I understand
> correctly, R is a two-stage interpreter, first translating what we know
> as R into byte code, which is then interpreted by a byte code
> interpreter.  If my memory is correct, this approach can cut the compute
> time by a factor of 100.

More information about the R-devel mailing list