I am getting "too many open devices" after 60 graphs. The archived comments on this problem were too sketchy to be helpful. Any ideas? Thanks Harold
It would help if you showed us how you were plotting. are you calling 'dev.off()' after creating an output file? The "comments on this problem were to sketchy to be helpful". On Sat, Mar 10, 2012 at 3:21 PM, harold kincaid <kincaidharold592 at gmail.com> wrote:> I am getting "too many open devices" after 60 graphs. The archived > comments on this problem were too sketchy to be helpful. Any ideas? > Thanks Harold > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.-- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do it.
On Sat, 10-Mar-2012 at 02:21PM -0600, harold kincaid wrote: |> I am getting "too many open devices" after 60 graphs. The archived |> comments on this problem were too sketchy to be helpful. Any ideas? With minimal information, my guess might not be correct, but I suspect you're plotting to a Windows device and a new one is opened for each of your plots. That would be some clutter on your screen. You'd make life simpler if you used a pdf device that uses a new page for each of your plots which can be hundreds of pages if you like. Check out the help for pdf(), making sure you don't forget the dev.off() part. HTH -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___ Patrick Connolly {~._.~} Great minds discuss ideas _( Y )_ Average minds discuss events (:_~*~_:) Small minds discuss people (_)-(_) ..... Eleanor Roosevelt ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.