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

From: Martin Maechler <maechler_at_stat.math.ethz.ch>
Date: Wed, 30 Jul 2008 09:37:37 +0200

>>>>> "l" == losemind <comtech.usa_at_gmail.com>
>>>>> on Tue, 29 Jul 2008 12:23:36 -0700 (PDT) writes:

    l> Hi all,

    l> In R GUI window, if you use "up" and "down" key, you will be able to recall
    l> the previous and next command that has been used and stored in the command
    l> history cache.

    l> But there is one inconvenience:

as Prof. Ripley said already, this is only an inconvenience for those who are used aka "addicted" to such behavior....

    l> In Matlab, you can type the first a few characters of the command that you     l> previously used,

    l> and then press “up" key, you will be able to get to that previous command     l> very fast,

    l> no matter how long ago it has been used...

"no matter how long"? ...

      as of "ten years ago" ? 
      	 ;-) ;-)

Anyway --- as nobody said so till now, and the vi-aficionados have already raised the flag --- I'd like to remark that the behaviour you desire has been the default behavior in ESS (The "Emacs Speaks Statistics" plugin for Emacs,  http://ess.r-project.org/ ) for many months now.

    l> In R GUI, there is no such functionality.

    l> Any thoughts on making R work my productivity?

leaving R GUI for ESS :-) :-)

For Windows, there's a very nice package of Emacs, bundled with ESS (and AucTeX, *the* recommended LaTeX plugin for Emacs) thanks to Vincent Goulet, at
http://vgoulet.act.ulaval.ca/en/ressources/emacs/

Martin Maechler, ETH Zurich

    l> ----------------------

    l> Also where do I find good debugger for R?

    l> Thanks!



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. Received on Wed 30 Jul 2008 - 07:41:24 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 30 Jul 2008 - 08:33:01 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive