fixes to RCSpin.Rnw