Re: [Rd] SEXPs and slots

From: Patrick Leyshock <ngkbr8es_at_gmail.com>
Date: Tue, 16 Nov 2010 11:52:48 -0800

Revisiting the output below:

  1. Am I correct in thinking that the @XXXXXXX items are addresses?
  2. What are the meanings of the gXcX items?
  3. Does one ever see NAM[0]?

Thanks, Patrick

> .Internal(inspect(eg))
> @df70e48 25 S4SXP g0c0 [OBJ,NAM(2),gp=0x10,ATT]
> ATTRIB:
> @df70ef0 02 LISTSXP g0c0 []
> TAG: @769258 01 SYMSXP g1c0 [MARK] "size"
> @c0f6db8 14 REALSXP g0c1 [NAM(2)] (len=1, tl=0) 4
> TAG: @15b0228 01 SYMSXP g1c0 [MARK,NAM(2)] "id"
> @c0f6178 16 STRSXP g0c1 [NAM(2)] (len=1, tl=0)
> @12341c80 09 CHARSXP g0c2 [gp=0x20] "id_value"
> TAG: @607ce8 01 SYMSXP g1c0 [MARK,NAM(2),gp=0x4000] "class"
> @c0f6d58 16 STRSXP g0c1 [NAM(2),ATT] (len=1, tl=0)
> @96ed08 09 CHARSXP g1c1 [MARK,gp=0x21] "example"
> ATTRIB:
> @df70fd0 02 LISTSXP g0c0 []
> TAG: @624f70 01 SYMSXP g1c0 [MARK,NAM(2)] "package"
> @c0f6d88 16 STRSXP g0c1 [NAM(2)] (len=1, tl=0)
> @67f5e0 09 CHARSXP g1c2 [MARK,gp=0x21,ATT] ".GlobalEnv"
>
>

        [[alternative HTML version deleted]]



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Tue 16 Nov 2010 - 19:55:34 GMT

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 Tue 16 Nov 2010 - 21:00:22 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