[Rd] S4 coerce as.data.frame for lm

2009-03-12 Thread Thomas Roth (geb. Kaliwe)
#Hi, # #I posted this already on r-help... with no success :-( # #For a given class test, an object of class test cannot be used as data in the lm method although as.data.frame was implemented... where's my mistake? # #Suppose i have defined a S4 class test #S4 Class test containting a slot da

Re: [Rd] S4 coerce

2007-07-18 Thread Paul Gilbert
This may be a better example of what I am now thinking is probably a bug in S4 dispatch: > require("RMySQL") # or require("RSQLite") Loading required package: RMySQL Loading required package: DBI [1] TRUE > m <- dbDriver("MySQL") # or m <- dbDriver("SQLite") > con <- dbConnect(m, dbname="te

Re: [Rd] S4 coerce

2007-07-17 Thread Paul Gilbert
Seth Falcon wrote: >Paul Gilbert <[EMAIL PROTECTED]> writes: > > > >>(I am not sure if this is a bug or a request for a more understandable >>warning, or possible something obvious I should be posting on r-help.) >> >>I am trying to coerce an new class object to be a DBIConnection and it >>d

Re: [Rd] S4 coerce

2007-07-16 Thread Seth Falcon
Paul Gilbert <[EMAIL PROTECTED]> writes: > (I am not sure if this is a bug or a request for a more understandable > warning, or possible something obvious I should be posting on r-help.) > > I am trying to coerce an new class object to be a DBIConnection and it > does not work the way I think it

[Rd] S4 coerce

2007-07-16 Thread Paul Gilbert
(I am not sure if this is a bug or a request for a more understandable warning, or possible something obvious I should be posting on r-help.) I am trying to coerce an new class object to be a DBIConnection and it does not work the way I think it should: R version 2.5.1 (2007-06-27) ... > requi