[R] Getting rid of extra connections?
Don MacQueen
macq at llnl.gov
Fri Oct 4 21:05:48 CEST 2002
I'm trying to figure out how to get out of this situation:
> source('monit.r')
Error in file(file, "r") : All connections are in use
> showConnections()
description class mode text isopen can read can write
> help.search('connection')
Error in file(file, "r") : All connections are in use
> q()
Save workspace image? [y/n/c]: y
Error in file(file, "wb") : All connections are in use
As best as I can tell, I got a bunch of extra connections by
experimenting with the split.scree() and layout() functions. But I
can't, so far, find a way to remove or close them. When I use ls() to
see a list of objects, they all look like things I explicitly
created, i.e., vectors, lists, functions, etc., and not like
connection objects. I can't find any connection object to close with
the close() function. I have closed all graphics devices with
dev.off().
I suppose I can quit without saving, and then restart R to get out of
this mess, but I'd like to find a clean way out. Suggestions?
Thanks
-Don
--
--------------------------------------
Don MacQueen
Environmental Protection Department
Lawrence Livermore National Laboratory
Livermore, CA, USA
--------------------------------------
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list