Re: [R] Class definition and "contains": No definition was found for superclass

2012-12-10 Thread Martin Morgan
On 12/10/2012 07:01 AM, Johannes Graumann wrote: Hi, What goes wrong when the following error shows up: Error in reconcilePropertiesAndPrototype(name, slots, prototype, superClasses, : No definition was found for superclass “sequencesuperclass” in the specification of class “sequences”

[R] Class definition and "contains": No definition was found for superclass

2012-12-09 Thread Johannes Graumann
Hi, What goes wrong when the following error shows up: > Error in reconcilePropertiesAndPrototype(name, slots, prototype, > superClasses, : > No definition was found for superclass “sequencesuperclass” in the > specification of class “sequences” Has this something to do with recursive class

Re: [R] class definition

2011-10-01 Thread Uwe Ligges
On 01.10.2011 13:21, Omphalodes Verna wrote: Hi everybody! I have a matrix of class "myClass", for example: myMat<- matrix(rnorm(30), nrow = 6) attr(myMat, "class")<- "myClass" class(myMat) When I extract part of ''myMat'', the corresponding class ''myClass'' unfortunately disappear: myMat

[R] class definition

2011-10-01 Thread Omphalodes Verna
Hi everybody! I have a matrix of class "myClass", for example: myMat <- matrix(rnorm(30), nrow = 6) attr(myMat, "class") <- "myClass" class(myMat) When I extract part of ''myMat'', the corresponding class ''myClass'' unfortunately disappear: myMat.p <- myMat[,1:2] class(myMat.p) Please for a