On Fri, Oct 5, 2012 at 4:07 PM, Bert Gunter <gunter.ber...@gene.com> wrote:
> On Thu, Oct 4, 2012 at 6:31 PM, Peter Meilstrup

>> explain some things, such as under what circumstances one would get a
>> "`...` used in incorrect context" error.
>
> How could it possibly know that?
>
> -- Bert

By looking at the code that throws the error.

The code is in src/main/eval.c, and the error is thrown in several
places when the symbol ... appears in a call being evaluated, and the
value of the symbol is neither the special DOTSXP type nor NULL.  That
is, if you use ... in code and there isn't a ... formal argument in
scope.

   -thomas


-- 
Thomas Lumley
Professor of Biostatistics
University of Auckland

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to