我无法使用连接到的. db文件中的数据:
install.packages("DBI")
install.packages("dplyr")
install.packages("RSQLite")
library(DBI)
library(RSQLite)
library(dplyr)
Hospital_db <- dbConnect(RSQLite::SQLite(),"Hospital_Data")
dbListFields(Hospital_db)
错误:
dbListFields(Hospital_db)
Error in (function (classes, fdef, mtable) :
unable to find an inherited method for function ‘dbListFields’ for signature ‘"SQLiteConnection", "missing"
1条答案
按热度按时间x33g5p2x1#
您需要指定要在其中列出字段的表,如下所示: