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

From: Peter Meilstrup <peter.meilstrup_at_gmail.com>
Date: Thu, 04 Oct 2012 18:31:26 -0700

On Thu, Oct 4, 2012 at 6:12 PM, Bert Gunter <gunter.berton_at_gene.com> wrote:
> The R Language definition manual explains all of this. Read it.

I always reread that before I post to this list.

The only relevant mention of "missing" in the R Language Definition that I could find were in section 4.1.2 on page 25, and that section did not answer anything about "missing" as a special symbol (e.g. that my be put in a formal argument list.)

There is another mention of `...` in section 4.3.2 and it does not explain some things, such as under what circumstances one would get a "`...` used in incorrect context" error.

Peter

>>
>> Thanks.
>>
>> Just so I have my mental model correct, I'm gathering that missing/``
>> is a symbol that the interpreter has a special rule for -- evaluating
>> it raises an error, as opposed to objects that evaluate to themselves
>> or variable names that evaluate to objects.
>>
>> Does the same sort of thing explain the behavior of `...`? When the
>> interpreter comes across `...` in the arguments during evaluation of a
>> call, it trips a special argument-interpolating behavior?
>>
>> Peter
>>
>> ______________________________________________
>> R-devel_at_r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>
>
> --
>
> Bert Gunter
> Genentech Nonclinical Biostatistics
>
> Internal Contact Info:
> Phone: 467-7374
> Website:
> http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri 05 Oct 2012 - 01:36:27 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 05 Oct 2012 - 12:00:47 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive