R scripts for frequently performed tasks