Skip to content

Getting rid of extra connections?

1 message · Don MacQueen

#
I'm trying to figure out how to get out of this situation:
Error in file(file, "r") : All connections are in use
description class mode text isopen can read can write
Error in file(file, "r") : All connections are in use
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