Skip to content
Prev 5772 / 15075 Next

R GUI Cannot load Interface Builder

Well, the error seems clear: your R session has too many files open. 
Now most OSes do have limited tables of files per process, but the 
numbers are not small: on Mac OS I believe it is 256 (that's what bash 
reports on mine): 1024 is a common value for other Unixen.

You could try closeAllConnections(), in case that helps enough to let 
you shutdown the session (but R allows only 128 connections, so that 
is not the main cause here).

Have you any idea what you might be doing that opens hundreds of 
files (at a lower level than R).  Are you actually using those spatial 
packages (it might be one of those)?

It is possible to raise the limit on the number of open files (in 
bash, ulimit -n), but this is not advisable unless you need it.
On Fri, 20 Mar 2009, Roland Kaiser wrote:

            
No.