[Rd] code allowing NA

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Mar 24 14:46:40 CET 2010


On Wed, 24 Mar 2010, Duncan Murdoch wrote:

> On 23/03/2010 1:28 PM, Bond, Stephen wrote:
>> Dear R developers,
>> 
>> Could you, please, point me to the source file containing the 
>> implementation of NA values?
>
>
> I have a feeling this isn't what you want, but what you asked for is in
>
> https://svn.r-project.org/R/trunk/src/main/arithmetic.c
>
> in particular around lines 110 and 160.

And for completeness, lines 1106-8 of names.c (there are 4 types of NA 
in R, and NA_character_ is in a different file).

-- 
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



More information about the R-devel mailing list