search for: s4_object_mask

Displaying 2 results from an estimated 2 matches for "s4_object_mask".

2019 Oct 21
3
S4SXP type vs S4 object bit?
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...
2019 Oct 22
0
S4SXP type vs S4 object bit?
...w class at C level? Best, Jiefei On Tue, Oct 22, 2019 at 4:28 AM Travers Ching <traversc at gmail.com> wrote: > 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 applicatio...