Re: [Rd] setClass with a slot of RODBC

2007-06-05 Thread Uwe Ligges
[EMAIL PROTECTED] wrote: > > Hi - I tried to get some answer before but there seems to have no one > response. My question is that I have a class like below definition: Don't forget that "RODBC" is not an S4 but an S3 class, hence you have to declare it: setOldClass("RODBC") Uwe Ligges

[Rd] setClass with a slot of RODBC

2007-06-04 Thread adschai
Hi - I tried to get some answer before but there seems to have no one response. My question is that I have a class like below definition: setClass("DBManager", representation(channel="RODBC")) My purpose of the conn slot is to hold a channel to database connection which is returned by a