search for: versionkey

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

Did you mean: versioned
2010 May 20
1
getSubClasses()?
Hi,   Is there a built in function that returns a character vector of all subclasses of a given superclass? showClass(Class = "SomeClass") contains the info that I want, but I don't know how to access it. getSubClasses <- function(superClass) return(setdiff(getClasses(.GlobalEnv), superClass)) wíll only work if the global enviroment isn;t filled with other class definitions.
2006 Apr 21
0
Questions on version arg to setClass and serialized instances
...tended to work? It appears to want an externalptr, but that seems odd to me. setClass("FOO", representation(x="numeric"), version="1.2.3") Error in validObject(.Object) : invalid class "classRepresentation" object: invalid object for slot "versionKey" in class "classRepresentation": got class "character", should be or extend class "externalptr" The use case I'm interested in is: A user has a serialized instance foo of class FOO in old.rda. The class definition lives in FooPkg. Suppose...