isClass(Class, formal=TRUE, where)getClasses(where, inherits = missing(where))
findClass(Class, where, unique = "")
removeClass(Class, where,
resolve.msg = getOption("removeClass.msg", default=TRUE))
resetClass(Class, classDef, where)
sealClass(Class, where)
packageSlot
of the character string.environment
in which to modify or
remove the definition. Defaults to the top-level environment of the
calling function (the global environment for ordinary computations,
but the environment or namespace of a package in the source for a
package). When searching for class definitions, where
defines where to
do the search, and the default is to search from the top-level
environment or namespace of the caller to this function.
logical
indicating if a formal definition
is required.findClass
expects a unique location for the
class, unique
is a character string explaining the purpose
of the search (and is used in warning and error messages). By
default, multiple locations are possible and the function always
returns a list.getClasses
, should the value
returned include all parent environments of where
, or that
environment only? Defaults to TRUE
if where
is
omitted, and to FALSE
otherwise.resetClass
, the optional class
definition (but usually it's better for Class
to be the
class definition, and to omit classDef
).[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Chambers, John M. (1998) Programming with Data Springer (For the original S4 version.)
setClassUnion
,
Methods
,
makeClassRepresentation