last command history???

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

last command history???

David Ruau
Hi,

I am using R 2.2.0 on Mac OS X 10.3.9. But I test the issue also with R
2.2.1 on OS X 10.4 (Tiger)
I have a question regarding the functioning of the history from the
command line.
When I press the 'up-arrow' I call back the last command (everything
ok), let's say that I go back until the level n-5, but when I get down
to return to the empty line, I cannot reach the empty line... The empty
line 'level' show me the content of the line n-4.
example, let's say I did this sequence of command:
 > x <- c(1:10)
 > mean(x)
[1] 5.5
 > sd(x)
[1] 3.027650
 > x
  [1]  1  2  3  4  5  6  7  8  9 10
 >
# If I return to the command 'x <- c(1:10)' and then get down the
bottom line is :
 > mean(x)

Well it doesn't work like that under Windows and I guess under Linux.
What is the setting that I should change?
Or where is the error I made...

David

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Reply | Threaded
Open this post in threaded view
|

Re: last command history???

Rob Goedman
Thanks David,

I'll have a look at this tomorrow.

A quick check on 10.4/R2.2.1/R Cocoa GUI 1.14 (2217) didn't
reproduce the behavior you described. Can you send me your
plist (~/Library/Preferences/org.R-project.R.plist)?

As this is Mac specific, R-Sig-Mac is a better alias.

Rob


On Feb 8, 2006, at 10:47 AM, David Ruau wrote:

> Hi,
>
> I am using R 2.2.0 on Mac OS X 10.3.9. But I test the issue also  
> with R
> 2.2.1 on OS X 10.4 (Tiger)
> I have a question regarding the functioning of the history from the
> command line.
> When I press the 'up-arrow' I call back the last command (everything
> ok), let's say that I go back until the level n-5, but when I get down
> to return to the empty line, I cannot reach the empty line... The  
> empty
> line 'level' show me the content of the line n-4.
> example, let's say I did this sequence of command:
>> x <- c(1:10)
>> mean(x)
> [1] 5.5
>> sd(x)
> [1] 3.027650
>> x
>   [1]  1  2  3  4  5  6  7  8  9 10
>>
> # If I return to the command 'x <- c(1:10)' and then get down the
> bottom line is :
>> mean(x)
>
> Well it doesn't work like that under Windows and I guess under Linux.
> What is the setting that I should change?
> Or where is the error I made...
>
> David
>
> ______________________________________________
> [hidden email] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting- 
> guide.html

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html