dbSetDataMappings-methods {ROracle}R Documentation

Set data mappings between Oracle and R/S-Plus

Description

Not yet implemented

Methods

res
a OraResult object as returned by dbSendQuery.
flds
a data.frame with field descriptions as returned by dbColumnInfo.
...
any additional arguments are passed to the implementing method.

References

See the Database Interface definition document DBI.pdf in the base directory of this package or http://stat.bell-labs.com/RS-DBI.

See Also

Oracle, dbSendQuery, fetch, dbColumnInfo.

Examples

## Not run: 
makeImage <- function(x) {
  .C("make_Image", as.integer(x), length(x))
}

res <- dbSendQuery(con, statement)
flds <- dbColumnInfo(res)
flds[3, "Sclass"] <- makeImage

dbSetDataMappings(rs, flds)

im <- fetch(rs, n = -1)
## End(Not run)

[Package ROracle version 0.5-7 Index]