search for: oldclasseslist

Displaying 6 results from an estimated 6 matches for "oldclasseslist".

2015 May 13
2
Unexpected failure when calling new() with unnamed arg and
...; but 'stats' : > > R's source, src/library/methods/R/BasicClasses.R, > lines 524 ff has the following comment block > > | .OldClassesPrototypes is a list of S3 classes for which prototype > | objects are known & reasonable. The classes will reappear in > | .OldClassesList, but will have been initialized first in > | .InitBasicClasses. NB: the methods package will NOT set up > | prototypes for S3 classes except those in package base and for "ts" > | (and would rather not do those either). The package that owns the > | S3 class should have...
2015 May 12
2
Unexpected failure when calling new() with unnamed arg and
Hi, The man page for new() suggests that if 'a' is an object with slots "slot1" and "slot2" and C is a class that extends the class of 'a', then the 2 following calls should be equivalent: new("C", a, ...) new("C", slot1=a at slot1, slot2=a at slot2, ...) This is generally the case but I just ran into a situation where it's not.
2015 Oct 08
1
Unexpected failure when calling new() with unnamed arg and
...ary/methods/R/BasicClasses.R, lines >>> 524 ff has the following comment block >>> >>> | .OldClassesPrototypes is a list of S3 classes for >>> which prototype | objects are known & reasonable. The >>> classes will reappear in | .OldClassesList, but will >>> have been initialized first in | .InitBasicClasses. NB: >>> the methods package will NOT set up | prototypes for S3 >>> classes except those in package base and for "ts" | (and >>> would rather not do those either). The p...
2015 May 13
0
Unexpected failure when calling new() with unnamed arg and
...3 class is not from 'base' but 'stats' : R's source, src/library/methods/R/BasicClasses.R, lines 524 ff has the following comment block | .OldClassesPrototypes is a list of S3 classes for which prototype | objects are known & reasonable. The classes will reappear in | .OldClassesList, but will have been initialized first in | .InitBasicClasses. NB: the methods package will NOT set up | prototypes for S3 classes except those in package base and for "ts" | (and would rather not do those either). The package that owns the | S3 class should have code to call setOld...
2015 Oct 08
0
Unexpected failure when calling new() with unnamed arg and
...> >> R's source, src/library/methods/R/BasicClasses.R, >> lines 524 ff has the following comment block >> >> | .OldClassesPrototypes is a list of S3 classes for which prototype >> | objects are known & reasonable. The classes will reappear in >> | .OldClassesList, but will have been initialized first in >> | .InitBasicClasses. NB: the methods package will NOT set up >> | prototypes for S3 classes except those in package base and for "ts" >> | (and would rather not do those either). The package that owns the >> | S3 c...
2002 Sep 10
0
Old-style classes: bug fix & request
...n assignment of class in the base package that does not break the consistency of classes, we should initialize that class or classes via a call to setOldClass. The discussion in "Programming with Data", pp 449-451 covers some of the issues. The list of old-style classes processed is in .OldClassesList in the methods package. Elements of the list are character vectors; each is used in a call to setOldClass during initialization. So elements of the list with > 1 string define old-style inheritance. There are a few known classes in the base package NOT currently initialized: - "noquote&...