[R] error: too many open devices

Peter Dalgaard p.dalgaard at biostat.ku.dk
Sat Apr 9 22:56:07 CEST 2005


Kate Walton <walton at cyrus.psych.uiuc.edu> writes:

> Hi,
> 
> R stops running my code and gives me the following error message:
> 
> Error in win.graph(width = 8.5, height = 11) :
>         too many open devices
> 
> My code calls for R to produce over 100 graphs, but it stops running and gives
> me this error message after about 60. I'm sure there's an easy fix. Anyone
> know?

Presumably you need to call dev.off() after you are through using a
device? 

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907




More information about the R-help mailing list