Yes, it is misusing the ... argument to NextMethod. The first two
arguments to c() match the first two arguments to NextMethod, the rest are
set as additional arguments.
Will fix for 2.7.1RC shortly. Thanks for the report.
On Mon, 16 Jun 2008, Ray Brownrigg wrote:
> I haven't been able to get anywhere tracking this down. It seems that
c.noquote() does
> something strange with its third (and subsequent) parameters:
>
> R-2.7.0 under NetBSD, R-2.6.0 under Solaris, and R-2.8.0 (unstable)
(2008-06-10 r45893)
> under WinXP, I get:
>
>> c(noquote('z'), 'y', 'x', '*')
> [1] z y x * x *
>>
>
> or:
>> c(noquote('z'), 'y', '***', letters)
> [1] z y *** a b c d e f g h i j k l m n o
p
> [20] q r s t u v w x y z *** a b c d e f g
h
> [39] i j k l m n o p q r s t u v w x y z
>>
>
> Again, I am only the messenger (so don't shoot me :-)).
>
> Regards,
> Ray Brownrigg
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
--
Brian D. Ripley, ripley at 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