From tlumley at uw.edu  Sun Oct  7 21:54:54 2012
From: tlumley at uw.edu (Thomas Lumley)
Date: Mon, 8 Oct 2012 08:54:54 +1300
Subject: [Rd] How to build a list with missing values? What is missing,
	anyway?
In-Reply-To: <CACk-te3Vtbi8gQWks4CjMt=xjS+g1UUptMgaEornRRy_sWXbnA@mail.gmail.com>
References: <CAJoaRhb8gq79aB3EXPeMa+n6eK6pj9NTFHFBJRUbP_=S1bbTaA@mail.gmail.com>
	<1349331704206-4644965.post@n4.nabble.com>
	<CAJoaRhbgikc=3Gpa8LAvSakjE=e95Z5akS7w5dHEND+yWHfJ6Q@mail.gmail.com>
	<CACk-te23paBonBtKY+eNoqVVdz_0186Y-DnfaMQ4zJOsZS-Gww@mail.gmail.com>
	<CAJoaRhYaRyoSzCKWgNNsuo63BazcG_CPDaAW_o4bXMMTeUdeLA@mail.gmail.com>
	<CACk-te3Vtbi8gQWks4CjMt=xjS+g1UUptMgaEornRRy_sWXbnA@mail.gmail.com>
Message-ID: <CAJ55+d+pq8Z7Dxp5TmTTSmpcoq9Qaf6OzEa5D_bhZ6NdY5Hg=w@mail.gmail.com>

On Fri, Oct 5, 2012 at 4:07 PM, Bert Gunter <gunter.berton at 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



[Rd] How to build a list with missing values? What is missing, anyway?
Thomas Lumley