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

2008-07-29 Thread losemind
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: In Matlab, you can type the first a few characters of the command that you previously use

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

2008-07-29 Thread Prof Brian Ripley
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

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

2008-07-29 Thread hadley wickham
On Tue, Jul 29, 2008 at 2:45 PM, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: > 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 U

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

2008-07-29 Thread Rolf Turner
On 30/07/2008, at 9:16 AM, hadley wickham wrote: On Tue, Jul 29, 2008 at 2:45 PM, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: 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

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

2008-07-29 Thread hadley wickham
On Tue, Jul 29, 2008 at 4:39 PM, Rolf Turner <[EMAIL PROTECTED]> wrote: > > On 30/07/2008, at 9:16 AM, hadley wickham wrote: > >> On Tue, Jul 29, 2008 at 2:45 PM, Prof Brian Ripley >> <[EMAIL PROTECTED]> wrote: >>> >>> A patch to do this was posted on 2007-09-29 by Glenn Davis. Some people >>> not

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

2008-07-29 Thread losemind
Prof Brian Ripley wrote: > > 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 wro

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

2008-07-29 Thread Spencer Graves
Regarding dubuggers, RSiteSearch("debug", "fun") produced 183 hits for me just now. The first two reference a "debug" package, while the third describes the "debug" function in the "base" package. The "debug{base}" function is great, but not as good as the Matlab debugger. The "de

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

2008-07-30 Thread Martin Maechler
> "l" == losemind <[EMAIL PROTECTED]> > 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> histor

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

2008-07-30 Thread Gad Abraham
Prof Brian Ripley wrote: 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. Now that you've mentioned readline, it doesn't

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

2008-07-30 Thread bartjoosen
Here is the post where Prof Ripley is reffering to: http://tolstoy.newcastle.edu.au/R/e2/help/07/09/26668.html Bart losemind wrote: > > > > Prof Brian Ripley wrote: >> >> A patch to do this was posted on 2007-09-29 by Glenn Davis. Some people >> not addicted to Matlab find the behaviour

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

2008-07-30 Thread losemind
Prof Brian Ripley wrote: > > 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 wro

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

2008-08-02 Thread Peter Dalgaard
Gad Abraham wrote: Prof Brian Ripley wrote: 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. Now that you've mentioned

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

2008-08-03 Thread Gad Abraham
Peter Dalgaard wrote: Gad Abraham wrote: Prof Brian Ripley wrote: 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. Now

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

2008-08-03 Thread Peter Dalgaard
Not quite true that you can't type anything. What happens (for me) is that you are still in reverse-i-search, so you can get this effect from "^R l ^C d". > (reverse-i-search)`l': ls() (reverse-i-search)`l': ls() > (reverse-i-search)`l': ls() (reverse-i-search)`ld': levels(ftpain3) <- list