[R] Too many open files

Gabor Grothendieck ggrothendieck at gmail.com
Sat May 27 01:47:20 CEST 2006

Try closeAllConnections()

On 5/26/06, Omar Lakkis <uofiowa at gmail.com> wrote:
> This may be more of an OS question ...
> I have this call
> r = get.hist.quote(symbol, start= format(start, "%Y-%m-%d"), end=
> format(end, "%Y-%m-%d"))
> which does a url request
> in a loop and my program runs out of file handlers after few hundred
> rotations. The error message is:  'Too many open files'. Other than
> increasing the file handlers assigned to my process, is there a way to
> cleanly release and reuse these connections?
> I run on Mac OS X
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

More information about the R-help mailing list