[ESS] ess-r-args-show

Patrick Connolly p_connolly at slingshot.co.nz
Tue Aug 16 12:00:52 CEST 2011


Thanks Michael.  Unfortunately, it throws an error when Emacs starts

File error: Cannot open load file, ess-eldoc

To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file.  Start Emacs with
the `--debug-init' option to view a complete error backtrace.

So I assume there's something else I need to make that one work.




On Mon, 15-Aug-2011 at 09:51AM -0700, Michael Hannon wrote:

|> You might try:
|> 
|>     (require 'ess-eldoc)
|> 
|> -- Mike
|> 
|> 
|> 
|> 
|> >________________________________
|> >From: Patrick Connolly <p_connolly at slingshot.co.nz>
|> >To: ESS-help <ess-help at stat.math.ethz.ch>
|> >Sent: Monday, August 15, 2011 1:57 AM
|> >Subject: [ESS] ess-r-args-show
|> >
|> >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.
|> >
|> >TIA
|> >
|> >
|> >-- 
|> >~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.  
|> >   ___    Patrick Connolly  
|> >{~._.~}                   Great minds discuss ideas    
|> >_( Y )_               Average minds discuss events 
|> >(:_~*~_:)                  Small minds discuss people  
|> >(_)-(_)                            ..... Eleanor Roosevelt
|> >      
|> >~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
|> >
|> >______________________________________________
|> >ESS-help at r-project.org mailing list
|> >https://stat.ethz.ch/mailman/listinfo/ess-help
|> >
|> >
|> >

-- 
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.   
   ___    Patrick Connolly   
 {~._.~}                   Great minds discuss ideas    
 _( Y )_  	         Average minds discuss events 
(:_~*~_:)                  Small minds discuss people  
 (_)-(_)  	                      ..... Eleanor Roosevelt
	  
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.



More information about the ESS-help mailing list