Re: [R] "all connections are in use" error during lazyload stage of packa ge installation

From: Gabor Grothendieck <>
Date: Thu 30 Jun 2005 - 00:07:20 EST

On 6/29/05, Tuszynski, Jaroslaw W. <> wrote:
> Hi,
> I suddenly started getting strange errors while working on my caTools
> package:
> >RCMD install C:/programs/R/rw2011/src/library/caTools
> ......
> preparing package caTools for lazy loading
> Error in file(file, "r", encoding = encoding) :
> all connections are in use
> Execution halted
> make: *** [lazyload] Error 1
> *** Installation of caTools failed ***
> I searched through R website and mailing lists but did not found many clues.
> I am not running R environment so showConnections and CloseAllConnections
> functions are not helpful. Did I run into some OS specific limit on number
> of files allowed? I closed all other programs and rebooted my machine but it
> did not help.

I don't know what the problem is but you could see if adding

LazyLoad: no

to the DESCRIPTION file causes it to go away. Even if it does it would probably be best to track down what the cause is and in the past when I have had problems running R CMD on a package of mine I repeatedly removed half my package and reran R CMD until I found the offending portion. mailing list PLEASE do read the posting guide! Received on Thu Jun 30 00:10:21 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:06 EST