What are some good practices for programming in `R`? 

Since `R` is a special-purpose language that I don't use all the time, I typically just hack together some quick scripts that do what I need. 

But what are some tips for writing clean and efficient `R` code?