minor changes methods.Rnw