[ESS] ess-r-args-show

Rodney Sparapani rsparapa at mcw.edu
Mon Aug 15 20:32:34 CEST 2011

Patrick Connolly wrote:
> Dear ESS genii,
> At some stage, I found this bit for my ~/.emacs file which I find very
> useful.
> ;; Show function argument completion while editing R code and
> ;; interacting with an inferior R process
> (define-key ess-mode-map [f5] 'ess-r-args-show)
> (define-key ess-mode-map [f6] 'ess-r-args-insert)
> (define-key inferior-ess-mode-map [f5] 'ess-r-args-show)
> (define-key inferior-ess-mode-map [f6] 'ess-r-args-insert)
> Being a fan of lazy typing, I find it arduous to press the F5 key
> after I've gone to all the bother of typing a function name and then
> an opening bracket.  My question is what would I need to add to the
> .emacs file so that the args appeared as though I'd pressed F5?  I
> seem to remember seeing that happen when a colleague was using Vincent
> Goulet's GNU Emacs Windows distribution.

Hi Patrick:

Did you try something like this [prior to (require 'ess-site)]:

(setq ess-r-args-electric-paren t)


More information about the ESS-help mailing list