My question is same as this one, but still cannot be solved. My code is:
library(DBI)
library(RMySQL)
con <- dbConnect(RSQLite::SQLite(), dbname = "myDB.db")
No matter myDB.db
exists or not, I got the same error message. The error message I got:
Error in h(simpleError(msg, call)) :
error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': .onLoad failed in loadNamespace() for 'RSQLite', details:
call: NULL
error: 'hash' is not an exported object from 'namespace:rlang'
Any thoughts on how to fix it?