From c@@rd|@g@bor @end|ng |rom gm@||@com  Mon Dec 16 11:02:36 2019
From: c@@rd|@g@bor @end|ng |rom gm@||@com (=?UTF-8?B?R8OhYm9yIENzw6FyZGk=?=)
Date: Mon, 16 Dec 2019 10:02:36 +0000
Subject: [Rd] source definition for R_NilValue/return from
 TYPEOF(R_NilValue)
In-Reply-To: <daf586e7f4804036b8bb135226140bf0b77e2872.camel@adelaide.edu.au>
References: <daf586e7f4804036b8bb135226140bf0b77e2872.camel@adelaide.edu.au>
Message-ID: <CABtg=KnOY2udg76DgVht6keiP_=45tw3J9=r_fnj1uFA+2v15g@mail.gmail.com>

It is in the source:
https://github.com/wch/r-source/blob/ea8c13aef93058c71d647619583b561567856584/src/include/Rinternals.h#L110
https://github.com/wch/r-source/blob/ea8c13aef93058c71d647619583b561567856584/src/include/Rinternals.h#L1798

It could probably be in
https://cran.r-project.org/doc/manuals/r-devel/R-lang.html#NULL-object

Gabor

On Mon, Dec 16, 2019 at 9:59 AM Dan Kortschak
<dan.kortschak at adelaide.edu.au> wrote:
>
> Hello,
>
> for reasons I want to know the return value of TYPEOF(R_NilValue), I
> expect it to be NILSXP, but I can't find this documented anywhere.
> Ideally, I'd like to see the source definition of R_NilValue, but after
> fair bit of searching I cannot find an obviously location for this.
>
> Would someone please point me in the right direction?
>
> thanks
> --
> CRICOS provider code 00123M
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



[Rd] source definition for R_NilValue/return from TYPEOF(R_NilValue)
=?UTF-8?B?R8OhYm9yIENzw6FyZGk=?=