Displaying 1 result from an estimated 1 matches for "r47933".
Did you mean:
r47934
2009 Feb 16
0
Inheriting from "environment" and similar object types
...rences, not normal R objects, and are not copied by the internal
duplicate() routine, so any attribute (including "class") overwrites the
same object. This means that classes, either S4 or S3, can't inherit
from these types directly.
A mechanism has been added to r-devel (version r47933) that allows S4
classes to contain "environment" and similar types. The mechanism uses
a reserved slot name to hold the reference. Code in various places
recognizes S4 objects with this slot and coerces the object to the
corresponding type. See ?setClass.
The mechanism is transpare...