From andy_liaw at merck.com  Tue Aug 24 21:06:47 2004
From: andy_liaw at merck.com (Liaw, Andy)
Date: Tue Aug 24 21:07:15 2004
Subject: typo in R-lang (was RE: [Rd] function bug (PR#7199))
Message-ID: <3A822319EB35174CA3714066D590DCD504AF8295@usrymx25.merck.com>

BTW, there's a small typo in section 4.1.2 of that manual.  `A an argument
that is ...' should be `An argument that is ...'.

Andy

> From: Liaw, Andy
> 
> This is _not_ a bug.  Please read `R Language Manual', 
> section 4.3.2 (as
> well as the R FAQ on what constitute a bug).
> 
> Andy
> 
> > From: morey@banta.psyc.missouri.edu
> > 
> > The following code prints [1] 2, as it should
> > 
> > temp<-function(ab,...){
> > print(ab)
> > }
> > temp(2,s=3)
> > 
> > However, this code prints [1] 3:
> > 
> > temp<-function(sb,...){
> > print(sb)
> > }
> > temp(2,s=3)
> >  
> > It should still print [1] 2. It appears 
> > that if a variable in ... begins with the same letter as 
> > another variable, 
> > the value in the variable in ... overwrites the value in the 
> > variable with 
> > the same first letter.
> > 
> > I didn't see this bug reported elsewhere.
> > 
> > Richard Morey
> > 
> > -- 
> > Richard Morey
> > Graduate Research Assistant, Cognition and Neuroscience
> > University of Missouri-Columbia


typo in R-lang (was RE: [Rd] function bug (PR#7199))
Liaw, Andy