Learn R Programming

stacomirtools (version 0.6.0.1)

connect,ConnectionODBC-method: connect method for ConnectionODBC class

Description

connect method for ConnectionODBC class

Usage

# S4 method for ConnectionODBC
connect(object)

Arguments

object

an object of class ConnectionODBC

Value

a connection with slot filled

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