The classic and brilliant Programming Perl reference book has a section in which the authors provide a list of advice for how to write Perl that is maximally computationally efficient, followed by a list of advice for how to write Perl that is maximally programmer efficient, followed by more advice for maintainer efficient, porter efficient, and user efficient. The advice is usually completely contradictory. (E.g., "use globals", "don't use globals.")
I thought of this while working on turning some "programmer efficient" R code into "computationally and maintainer efficient" code.
What are some interesting and useful tips for R style along these lines? What practices are maximally programmer efficient, and what are the equivalent practices that address other notions of efficiency?