I recently wrote a literate R document where I added features to a plot one at a time and then showed the result. That's a lot of repetitive code. This could have both cut down on copy-pasting and helped to propagate changes in an earlier plot to the later ones. Next time for sure.