[R] Command-line editing & history

Liaw, Andy andy_liaw at merck.com
Fri Mar 3 03:24:54 CET 2006

Unless I'm mistaken, all those features (and more) are available if you run
R within ESS/(X)Emacs.


From: John McHenry
>    Hi all,
> Are there any plans to add more functionality to command-line 
> editing and history editing on the command line?
> In MATLAB (I know, comparisons are odious ...), you can type 
> "p" and up-arrow on the command line and scroll through the 
> recently entered commands beginning with "p". This is a very 
> useful  feature and something that I believe is not replicated in R. 
> Please correct me if I'm wrong; currently I use history(Inf) 
> in R, search for what I want and cut and paste if I find what 
> I'm looking for.
> Also in MATLAB, tab completion is available for directory 
> listings and also for function name completion. Again, I'm 
> unaware of how to do this in R. The added MATLAB  
> functionality makes finding files easy on the command line 
> and it also saves the fingers on long function names. 
> Thanks,
> Jack.
> ---------------------------------
> 	[[alternative HTML version deleted]]
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list 
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html

More information about the R-help mailing list