[Rd] new.env does not recognize parents from subclasses of "environment"
spinuvit.list at gmail.com
Wed Oct 20 12:17:06 CEST 2010
A lot has been changed in the R12.0 with respect to behavior of "environment"
subclasses. Many thanks for that.
One small irregularity, though; new.env does not allow the parent to be from S4
> setClass("myenv", contains="environment")
Error in new.env(parent = new("myenv")) : 'enclos' must be an environment
I wonder if this is a "planed" behavior.
The use of .xData slot obviously works:
More information about the R-devel