Displaying 3 results from an estimated 3 matches for "completeclassslots".
2009 May 27
2
Object-oriented programming in R
...lot"
My understanding is that the object p.plot belongs to the "ggplot"
class. However, a new class definition like
> setClass("AClass", representation(mFirst = "numeric", mSecond =
> "ggplot")) ;
yields the warning
> Warning message:
> In .completeClassSlots(ClassDef, where) :
> undefined slot classes in definition of "AClass": mSecond(class
> "ggplot")
The ggplot object is also a list :
> is.list(p.plot)
> [1] TRUE
So, I guess I could identify mSecond as being a list.
However, I don't understand why "ggplot...
2009 May 05
0
S4 slot of type connection [Sec=Unclassified]
I am having trouble declaring a slot of type "connection" or "file" in which to store a file connection.
I get a warning message when class definition is loaded:
In .completeClassSlots(ClassDef, where) :
undefined slot classes in definition of "Element": datafileConn(class "file")
Can anyone suggest what type I should be using for the slot. Type "connection" produces similar warnings plus error messages.
Troy Robertson
Database and Compu...
2009 Jun 01
1
installing sn package
...lot"
My understanding is that the object p.plot belongs to the "ggplot"
class. However, a new class definition like
> setClass("AClass", representation(mFirst = "numeric", mSecond =
> "ggplot")) ;
yields the warning
> Warning message:
> In .completeClassSlots(ClassDef, where) :
> undefined slot classes in definition of "AClass": mSecond(class
> "ggplot")
The ggplot object is also a list :
> is.list(p.plot)
> [1] TRUE
So, I guess I could identify mSecond as being a list.
However, I don't understand why "ggplot&...