From tr@ver@c @end|ng |rom gm@||@com  Mon Oct 21 02:47:56 2019
From: tr@ver@c @end|ng |rom gm@||@com (Travers Ching)
Date: Sun, 20 Oct 2019 17:47:56 -0700
Subject: [Rd] S4SXP type vs S4 object bit?
Message-ID: <CAPLMX9FMdNTDjQSy-HvCUVrn3ph3rh0-YCTrXhFa5FycL8bjLw-113@mail.gmail.com>

I'm trying to understand the R internals a bit better and reading over the
documentation.

I see that there is a bit related to whether an object is S4
(S4_OBJECT_MASK), and also the object type S4SXP (25).  The documentation
makes clear that these two things aren't the same.

But in practice, will the S4-bit and object type ever disagree for S4
objects?  I know that one can set the bit manually in C; are there any
practical applications for doing so?

Thank you
Travers

	[[alternative HTML version deleted]]



[Rd] S4SXP type vs S4 object bit?
Travers Ching