shortcut for closing plots

Stephen Eglen S.J.Eglen at damtp.cam.ac.uk
Sun Sep 12 14:22:51 CEST 2004


hi Patrick

 > is there an ESS function for closing/deleting plots?

not that I know of.  But what program (S/R/SAS/...) are you using?  If
you are looking for something like an emacs keystroke to  close all R
(say) graphic windows, you'd probably need to write an R function that
actually does the work of killing the plots, say `closewin' and then
do:

(defun ess-closewin ()
  (interactive)
  (ess-execute "closewin"))

and then bind ess-closewin to a suitable key or just do M-x ess-closewin

If you do this, do feedback to the list what you did!

 > version: ess-mode 5.2.0beta1
n.b. we're up to 5.2.2 now at http://ess.r-project.org

stephen




More information about the ESS-help mailing list