Update global.R

fix some typos in the comments