Message-ID: <XFMail.100512232139.Ted.Harding@manchester.ac.uk>
Date: 2010-05-12T22:21:39Z
From: (Ted Harding)
Subject: dev.off(): is there a 'quiet'-mode?
In-Reply-To: <9F7646D5-CB7D-460D-BA7F-5E5A2196666B@web.de>
On 12-May-10 22:09:18, Marius Hofert wrote:
> Dear R experts,
> On shutting down a device with dev.off(), the number and name of the
> new active device is returned/printed. How can this be prevented from
> being shown? Is there something like a 'quiet'-mode?
>
> Cheers,
> marius
I don;t know about a specific "quiet mode", but try the following:
Dev.Off <-function(which=dev.cur()){ dummy<-dev.off(which) }
X11() ## Or whatever you use to get a new window
Dev.Off()
Ted.
--------------------------------------------------------------------
E-Mail: (Ted Harding) <Ted.Harding at manchester.ac.uk>
Fax-to-email: +44 (0)870 094 0861
Date: 12-May-10 Time: 23:21:36
------------------------------ XFMail ------------------------------