search for: datafileconn

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

2009 Jun 29
1
S4 and connection slot [Sec=Unclassified]
Hi all, I am having a problem trying to declare a slot representation to hold a file connection. With V2.8.0 I had been using: setClass("Element", representation( [other slots removed], datafileConn = setOldClass(c("file","connection")) ) ) This resulted in a warning but still ran okay. No however with V2.9.0 I am getting an error: Error in representation(state = "list", initialState = "list", polygons = "list", : element...
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 Computing Support Provider Southern Ocean Ecosystems, ERM/Fish Australian Antarctic Division Chann...