[ESS] Customizing ESS: change color background and shortcuts to evaluate line or region

Stephen Eglen S.J.Eglen at damtp.cam.ac.uk
Tue Jul 8 15:27:12 CEST 2008


Judith Flores <juryef at yahoo.com> wrote:


>     I have been looking for the appropriate command to
> customize a few things of ESS. I would like to change the background
> and font colors. I also would like to enlarge the width size of display
> when running R within emacs. 

background and font colours can probably be changed by the X Resources,
part of Emacs, rather than ESS.  See the emacs info, e.g. appendix D.1 X
Resources.  (what OS?)


> And finally I added the following commands
> to use the keys F1 and F2 to evaluate one line a region, respectively,
> but it seems I am missing something. 
> 
> (global-set-key [f1] 'ess-eval-line)
> (global-set-key [f2] 'ess-eval-region)

that looks okay, what happens when you do "C-h k f1" ?  

Stephen




More information about the ESS-help mailing list