类似于:使用 RSQLite 在 R 中加载 SQLite 表
当我尝试导入统计流网络对象时收到错误消息。有没有人使用过 SSN Cran R 包并看到这个错误?http://www.fs.fed.us/rm/boise/AWAE/projects/SSN_STARS/downloads/SSN/SSNvignette2014.pdf
install.packages("SSN")
install.packages("RSQLite")
install.packages("DBI")
#for stream network analysis
library("SSN")
library("RSQLite")
library("DBI")
dbConnect(RSQLite::SQLite())
ssnME <- importSSN("/Volumes/CGA 2015 Conference/NHDplus_LSNetwork/lsn_ME.ssn")
>dbConnect(RSQLite::SQLite())
<SQLiteConnection>
>ssnME <- importSSN("/Volumes/CGA 2015 Conference/NHDplus_LSNetwork/lsn_ME.ssn")
Error in (function (classes, fdef, mtable) :
unable to find an inherited method for function ‘dbDisconnect’
for signature ‘"function"’