This post is about speeding up your R code using the JIT (just in time) compilation capabilities offered by the new (well, now a year old) {compiler} package. Specifically, dealing with the practical difference between enableJIT and the cmpfun functions.
If you do not want to read much, you can just skip to the example part.
As always, I welcome any comments to this post, and hope to update it when future JIT solutions will come along.
Continue reading “Speed up your R code using a just-in-time (JIT) compiler”