In this post I am going to look at how we can run fairly simple simulations in R with high efficiency. Though many individual-based simulation models might be simple, they can still take ages to run in R because of it is an interpreted language. In particular loops are notoriously