From saptarshi.guha at gmail.com  Sat Sep 12 20:08:19 2009
From: saptarshi.guha at gmail.com (Saptarshi Guha)
Date: Sat, 12 Sep 2009 14:08:19 -0400
Subject: [Rd] Access to integer value of BUILTINSXP/SPECIALSXP
Message-ID: <27ABB3ED-C083-46F2-8DA4-953B7D990A7D@gmail.com>

Hello,
For the BUILTINSXP and SPECIALSXP types, the R Internals page documents

"An integer giving the offset into the table of primitives/.Internals. "

What macro gives me the value of this integer? I guess something like  
this would work
had R_USEINTERNALS been defined
v->u.primsxp.offset
(where v is a SEXP of either of the above types).

What is the portable version?

Thank you
Saptarshi



[Rd] Access to integer value of BUILTINSXP/SPECIALSXP
Saptarshi Guha