Skip to content
Prev 148735 / 398498 Next

dev.off() inside a function & other glitches

Thanks to all who replied on list and to me directly.

You are right, FAQ 7.22 is the answer.  For any others who get caught  
by this it's important to print(..) a plot with a function, not just  
create it, i.e.

	print( xyplot(...   ) )

not just

	xyplot(... )

..otherwise it doesn't necessarily get sent to the opened device.

Michael
On 2 Jul 2008, at 01:06, Deepayan Sarkar wrote:

            
Web:    http://www.hopkins-research.com/
                          Office:    +44 (O)1732 228844
                          Mobile:    +44 (O)7813 467381