Changes to R script headers

Mostly header changes to make them look nicer.