search for: myvclass

Displaying 1 result from an estimated 1 matches for "myvclass".

Did you mean: myclass
2006 Jun 15
0
S4 class slot name 'names' is not allowed (PR#8768 S4Methods)
...setClass("junk", + representation(.Data="vector",VIRTUAL)) Error in representation(.Data = "vector", VIRTUAL) : object "VIRTUAL" not found Now consider p. 5 of "S4 Classes in 15 pages, more or less." This should work: setClass("myVclass", representation(a = "character", "VIRTUAL")) and indeed it does: setClass("myVclass", representation(a = "character", "VIRTUAL")) [1] "myVclass" The need to quote "VIRTUAL" is the first bug, but read on. Now take the...