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?
Many thanks in advance, Kate
error: too many open devices
3 messages · Kate Walton, Peter Dalgaard, John Fox
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
Dear Kate, Open a graphics window with windows(). From the history menu, turn recording on. You should be able to record 100 graphs, using the Page Up and Down keys to move through the graph history. I hope this helps, John -------------------------------- John Fox Department of Sociology McMaster University Hamilton, Ontario Canada L8S 4M4 905-525-9140x23604 http://socserv.mcmaster.ca/jfox --------------------------------
-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Kate Walton
Sent: Saturday, April 09, 2005 3:20 PM
To: r-help at stat.math.ethz.ch
Subject: [R] error: too many open devices
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?
Many thanks in advance, Kate
______________________________________________ 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