Open Adequate Connection or Stop

openAdequateConnectionOrStop(
  db,
  use2007Driver = NULL,
  dbg = FALSE,
  DBMSencoding = "",
  ...
)

Arguments

db

database name or file

use2007Driver

if TRUE the functions odbcConnectAccess2007 and odbcConnectExcel2007 are used instead of odbcConnectAccess and odbcConnectExcel, respectively

dbg

if TRUE, debug messages are shown

DBMSencoding

finally passed to odbcDriverConnect. Default: "", You may want to use: "UTF-8"

...

further arguments passed to odbcConnectionAccess, odbcConnectionExcel or odbcConnect