Slow R code? Try parallelizing!

In the last while, a number of people that were fighting with slow R code asked me for advice. Commendably, they had ticked off the usual suspects such as Do you loop over things that could be vectorized? Do you have everything as arrays, do you avoid resizing, do you avoid accessing with $NAMES? Have…