Skip to content
Prev 55696 / 63424 Next

Thanks for help with validspamobject

I'm curious about a warning coming from the use of package sqldf.  I opened
a file and read it using a SQLite select statement:

f = "/Users/ronaldbarry/Desktop/Three-Dee/LakeMichDepth.txt"
Which ran perfectly well, but it threw a warning:

Warning messages:
1: In stopifnot(is.list(hooks)) :
  closing unused connection 6
(/Users/ronaldbarry/Desktop/Three-Dee/LakeMichDepth.txt)
2: In stopifnot(is.list(hooks)) :
  closing unused connection 5
(/Users/ronaldbarry/Desktop/Three-Dee/LakeMichDepth.txt)

It looks like it would be good practice to close the connection in code,
but I don't see any function in sqldf

to do so.  Is there a way to nicely close the connection, or should I just
ignore the warning?  Operating

system is Mac OSX 13.16 High Sierra, R Studio version 1.1.146, R version
3.5.0.  Thanks for any info.
On Thu, Aug 16, 2018 at 12:00 PM, Ronald Barry <rpbarry at alaska.edu> wrote: