Learn R Programming

RMySQL (version 0.9-3)

dbSetDataMappings-methods: Set data mappings between MySQL and R/S-Plus

Description

Not yet implemented

Arguments

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

MySQL, dbSendQuery, fetch, dbColumnInfo.

Examples

Run this code
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)

Run the code above in your browser using DataLab