[R] too many open devices

Patrick Connolly p_connolly at slingshot.co.nz
Sun Mar 11 08:39:41 CET 2012


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
	  
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.



More information about the R-help mailing list