Fix typos in R tutorial