Just a couple R fixes