Looks fun.  However, what is REALLY slow in R isn&#x27;t the interpreter or garbage collector: but some of the object re-allocation patterns you accidentally trigger.  Here is my note making some comparisons and recommendations on writing fast code in R: <a href="http:&#x2F;&#x2F;www.win-vector.com&#x2F;blog&#x2F;2015&#x2F;07&#x2F;efficient-accumulation-in-r&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.win-vector.com&#x2F;blog&#x2F;2015&#x2F;07&#x2F;efficient-accumulatio...</a>