Dumping ground for miscallaneous R code.