Minor changes to some R scripts.