Hi all, 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. Tnx.
On Mon, 9 Feb 2009, Neotropical bat risk assessments wrote:> Hi all, > > 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.It means R tidied up after you. But it may have tidied up things you dropped by mistake, hence the warning. Without a full example (see the footer of this message) we cannot tell what you (or a package you are using) did wrong. -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
On Mon, Feb 9, 2009 at 12:36 PM, Neotropical bat risk assessments < neotropical.bats@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]]