shortcut for closing plots

Patrick Drechsler patrick.drechsler at gmx.net
Sun Sep 12 15:46:05 CEST 2004


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?

R

[...]
> (defun ess-closewin ()
>   (interactive)
>   (ess-execute "closewin"))

% for R:
  (ess-execute "dev.off()"))

[...]

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

Works like a charm! Thanks for the quick help!

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

Upraded, thanks for the pointer.

Cheers

Patrick
-- 
For animals, the entire universe has been neatly divided into things
to (a) mate with, (b) eat, (c) run away from, and (d) rocks.
        -- (Terry Pratchett, Equal Rites)




More information about the ESS-help mailing list