Skip to content
Back to formatted view

Raw Message

Message-ID: <48D3B2F5.90608@stats.uwo.ca>
Date: 2008-09-19T14:11:01Z
From: Duncan Murdoch
Subject: Plot availability
In-Reply-To: <19572437.post@talk.nabble.com>

On 9/19/2008 9:32 AM, john crepezzi wrote:
> Is it possible to see if a plot is already open before I call lines()?

I don't think so.  You can see if a graphics device is open by looking 
at dev.cur(), but I don't think there's a test for plot.new().  I'd just 
wrap the call in try() if you're not sure it will work.

Duncan Murdoch