Fix typos in R scripts