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

Spencer Graves spencer.graves at pdf.com
Wed Jul 30 04:51:53 CEST 2008


      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 "debug" package provides other useful functionality but 
is harder to use.  I use the "debug{base}" function routinely and the 
"debug" package only very rarely. 

      Hope this helps. 
      Spencer

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 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
>> ______________________________________________
>> 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.
>>
>>
>>     
>
>
>
> Hi,
>
> I don't find Glenn Davis's patch... where is it?
>
> I like that Matlab feature. And I am using R GUI on windows...
>
> Please help me!
>
> Please also give me pointers to good R debuggers?
>
> Thanks!
>
>



More information about the R-help mailing list