Re: [R] variable names when using S3 methods

2008-04-28 Thread Prof Brian Ripley
options(warnPartialMatchArgs=TRUE) is available to those who do regrets, e.g. options(warnPartialMatchArgs=TRUE) fooA("hi",m=1) foo.default: m is 1 Warning message: In fooA("hi", m = 1) : partial argument match of 'm' to 'model' On Mon, 28 Apr 2008, Peter Dalgaard wrote: Aaron Rendahl wrot

Re: [R] variable names when using S3 methods

2008-04-28 Thread Peter Dalgaard
Aaron Rendahl wrote: > I'm seeing some funny behavior when using methods (the older S3 type) > and having variables that start with the same letter. I have a vague > recollection of reading something about this once but now can't seem > to find anything in the documentation. Any explanation, or a

[R] variable names when using S3 methods

2008-04-28 Thread Aaron Rendahl
I'm seeing some funny behavior when using methods (the older S3 type) and having variables that start with the same letter. I have a vague recollection of reading something about this once but now can't seem to find anything in the documentation. Any explanation, or a link to the proper d