RE: [Rd] function bug (PR#7199)

From: Prof Brian D Ripley <ripley_at_stats.ox.ac.uk>
Date: Wed 25 Aug 2004 - 04:55:38 EST

I think you mean

`I apologize for wasting your time by sending the same incorrect idea to both R-help and R-bugs without doing my homework.'

It is *not* OK for those who have to clear up after you.

On Tue, 24 Aug 2004, Richard Morey wrote:

> Ok, thanks.
>
> On Tue, 24 Aug 2004, Liaw, Andy wrote:
>
> > 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
> > >
> > > ______________________________________________
> > > R-devel@stat.math.ethz.ch mailing list
> > > https://stat.ethz.ch/mailman/listinfo/r-devel
> > >
> > >
> >
> >
> > ------------------------------------------------------------------------------
> > Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New Jersey, USA 08889), and/or its affiliates (which may be known outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD and in Japan, as Banyu) that may be confidential, proprietary copyrighted and/or legally privileged. It is intended solely for the use of the individual or entity named on this message. If you are not the intended recipient, and have received this message in error, please notify us immediately by reply e-mail and then delete it from your system.
> > ------------------------------------------------------------------------------
> >
>
> --
> Richard Morey
> Graduate Research Assistant, Cognition and Neuroscience
> University of Missouri-Columbia
>
> ______________________________________________
> R-devel@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Wed Aug 25 05:05:31 2004

This archive was generated by hypermail 2.1.8 : Wed 03 Nov 2004 - 22:45:09 EST