Minor cosmetic corrections to R code.