[R] R command history -- can it be like Matlab's?

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Jul 29 21:45:24 CEST 2008


A patch to do this was posted on 2007-09-29 by Glenn Davis.  Some people 
not addicted to Matlab find the behaviour very inconvenient and prefer the 
getline/readline behaviour (triggered by ^R/^S) of Rterm and R on Unixen.

On Tue, 29 Jul 2008, losemind wrote:

>
> Hi all,
>
> In R GUI window, if you use "up" and "down" key, you will be able to recall
> the previous and next command that has been used and stored in the command
> history cache.
>
> But there is one inconvenience:

Or an inconvenience of Matlab not shared by R, depending on your 
preferences.

> In Matlab, you can type the first a few characters of the command that you
> previously used,
>
> and then press “up" key, you will be able to get to that previous command
> very fast,
>
> no matter how long ago it has been used...
>
> In R GUI, there is no such functionality.
>
> Any thoughts on making R work my productivity?
>
> ----------------------
>
> Also where do I find good debugger for R?
>
> Thanks!
> -- 
> View this message in context: http://www.nabble.com/R-command-history----can-it-be-like-Matlab%27s--tp18719530p18719530.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


More information about the R-help mailing list