Similar to: Loading SQLite table in R with RSQLite
Receiving an error when I try to import a statistical stream network object. Has anyone worked with the SSN Cran R package and seen this error?
SSN: An R Package for Spatial Statistical Modeling on Stream Networks
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"’