I have been trying to create a database and installed the "DBI" package, but I am still facing this error. I reinstalled DBI and RSQLite package, but they don’t seem to work.
library("DBI") con <- dbConnect (RSQLite::SQLite(), dbname = ":memory:") dbListTables(con)
Error:
Error in connection_connect(dbname, loadable.extensions, flags, vfs, extended_types) : function 'Rcpp_precious_remove' not provided by package 'Rcpp'
I had the same problem with the packages: raster, tmap and sf. Reinstalling the package Rcpp solved the problem:
install.packages('Rcpp') library(Rcpp)
1.4m articles
1.4m replys
5 comments
57.0k users