[R] Is there some way to append to a pdf after its device has been closed?

Patrick Connolly p_connolly at slingshot.co.nz
Tue Dec 30 06:49:26 CET 2008

On Mon, 29-Dec-2008 at 02:57PM -0500, Alex Pine wrote:

|> Hello all,

|> My question has to do with writing to pdf/ps files. Currently, my R
|> program requires 100+ pdf devices to be open, which is over the
|> limit of 64 devices that can be open at the same time, causing R to
|> throw an exception. My problem could be solved if I could append to
|> a pdf file after its initial device has been closed, but so far I

If you told us why you've closed the device, we'd understand what your
problem is.  Why can't you keep the same device open and as many pages
as you like will be appended before you do the dev.off() thing?  You
can change par settings for the individual pages if necessary.


   ___    Patrick Connolly   
 {~._.~}          		 Great minds discuss ideas    
 _( Y )_  	  	        Middle minds discuss events 
(:_~*~_:) 	       		 Small minds discuss people  
 (_)-(_)  	                           ..... Anon

More information about the R-help mailing list