shortcut for closing plots
S.J.Eglen at damtp.cam.ac.uk
Sun Sep 12 16:23:41 CEST 2004
Patrick Drechsler writes:
> Hi Stephen,
> Stephen Eglen wrote on 12 Sep 2004 13:22:51 MET:
> > > is there an ESS function for closing/deleting plots?
> > not that I know of. But what program (S/R/SAS/...) are you
> > using?
> > (defun ess-closewin ()
> > (interactive)
> > (ess-execute "closewin"))
> % for R:
> (ess-execute "dev.off()"))
Great! Having just checked the man page, you may prefer under R to
'graphics.off()' shuts down all open graphics devices.
More information about the ESS-help