Learn R Programming

stacomirtools (version 0.6.0.1)

ConnectionODBC-class: ConnectionODBC class

Description

ConnectionODBC class

Arguments

Value

connectionODBC an S4 object of class connectionODBC

Slots

baseODBC

"vector" (of length 3, character)

silent

"logical"

etat

"ANY" # can be -1 or string

connection

"ANY" # could be both string or S3

Examples

Run this code
# NOT RUN {
##this wont be run as the user need to manually configure the connection before using it
# }
# NOT RUN {
object=new("ConnectionODBC")
object@baseODBC=c("myODBCconnection","myusername","mypassword")
object@silent=FALSE
object<-connect(object)
odbcClose(object@connection)
# }

Run the code above in your browser using DataLab