I recently ran across what may be yet another OO paradigm in R.
library(RSQLite)
> dbReadTable
standardGeneric for "dbReadTable" defined from package "DBI"
defined with value class: "data.frame"
function (conn, name, ...)
.valueClassTest(standardGeneric("dbReadTable"), "data.frame",
"dbReadTable")
<environment: 0x1d252198>
Methods may be defined for arguments: conn, name
Use showMethods("dbReadTable") for currently available ones.
> showMethods('dbReadTable')
Function: dbReadTable (package DBI)
conn="SQLiteConnection", name="character"
Two questions:
- Does this correspond to a new paradigm not listed here? Or is this just a way of manipulating e.g. S4 classes?
- How do I see the source for dbReadTable's methods?