minor corrections result.Rnw