I want to connect MS Access database to R with DBI package. I try this:
library(DBI)
con <- dbConnect(odbc::odbc(), "BASE_MEPSA")
and I have this error
Error: nanodbc/nanodbc.cpp:950: HY024: [Microsoft][Pilote ODBC Microsoft Access] « (Inconnu) »
But with RODBC I have no problem
library(RODBC)
base1 <- odbcDriverConnect("Driver={Microsoft Access Driver (*.mdb, *.accdb)};DBQ=C:/Users/IPS/Desktop/divers/dt/stateduc_R/BASE_MEPSA.mdb")
How can I connect MS Access to R with the DBI
package?