[R] Command-line editing & history

Martin Maechler maechler at stat.math.ethz.ch
Fri Mar 3 16:39:30 CET 2006

>>>>> "John" == John McHenry <john_d_mchenry at yahoo.com>
>>>>>     on Fri, 3 Mar 2006 07:07:11 -0800 (PST) writes:

    John> Unless, of course, like me, you run vim for religious reasons ;)
    John> Seriously, though, it seems that this functionality is not available in the R Console, correct?

    John> I have tried many GUI front-ends and found that there are both advantages and unfortunately disadvantages to their use---certainly in the way that I normally work---hence the best solution, for me at least, would be to have added functionality in the R Console.


I think you never said on which platform (Unixish / Mac /
Windows) you work, since the "console"s differ.
But in all three cases, everything is built on free software
(contrary to Matlab),  so you could go ahead and improve the
console behavior and post the improved sources for future

One advantage in using ESS has been that you have the (almost)
identical interface on all computer platforms.

Martin Maechler ETH Zurich

    John> "Liaw, Andy" <andy_liaw at merck.com> wrote: Unless I'm mistaken, all those features (and more) are available if you run
    John> R within ESS/(X)Emacs.

    John> Andy

    John> 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

    John> ------------------------------------------------------------------------------

    John> ------------------------------------------------------------------------------

    John> ---------------------------------

    John> [[alternative HTML version deleted]]

    John> ______________________________________________
    John> R-help at stat.math.ethz.ch mailing list
    John> https://stat.ethz.ch/mailman/listinfo/r-help
    John> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

More information about the R-help mailing list