On Mon, Feb 9, 2009 at 12:36 PM, Neotropical bat risk assessments <
neotropical.b...@gmail.com> wrote:

> Read a string of data and had this message during a plot run.
>
> Warning message:
> closing unused connection 3 (Lines)
>
> Not sure what this means or if it should be of concern.
>

This simply means that a file/database handle has been garbage collected
because it has become inaccessible, a perfectly normal and innocuous event.
For example:

> fff <- file("/tmp")  # open a file
> fff <- NULL          # it is now inaccessible through fff
> gc()
         used (Mb) gc trigger (Mb) max used (Mb)
Ncells 106619  2.9     350000  9.4   350000  9.4
Vcells  74987  0.6     786432  6.0   353825  2.7
Warning message:
closing unused connection 3 (/tmp)                 <<< file("/tmp") is no
longer available

I don't know why R considers this a "warning", or for that matter why it
prints a notification at all with gcinfo(FALSE).  Of course, it is possible
to inadvertently make a file inaccessible, but then it is also possible to
inadvertently make important data inaccessible, and of course that is not
signalled.

             -s

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to