[R] dev.off(): is there a 'quiet'-mode?

(Ted Harding) Ted.Harding at manchester.ac.uk
Thu May 13 00:21:39 CEST 2010

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


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

More information about the R-help mailing list