[R-SIG-Mac] Editor line-editing blank lines
Simon Urbanek
simon.urbanek at r-project.org
Mon Oct 9 20:22:39 CEST 2006
Roberto,
this is what I get:
> a = rnorm(20)
> a = rnorm(40)
> a = rnorm(60)
> a = rnorm(80)
>
Which is as expected. Can you send me your preferences file, please
(it's in ~/Library/Preferences/org.R-project.R.plist)? Also please
send me output of
Sys.getlocale()
and what keyboard setting you use as this seems to be specific to
your system.
Thanks,
Simon
On Oct 9, 2006, at 2:14 PM, Roberto Osorio wrote:
> Here's an example, copied and pasted from the console
> :
>> a = rnorm(20)
>> a = rnorm(40)
>>
>> a = rnorm(40)
>>
>>
>> a = rnorm(60)
>>
>>
>>
>>
>> a = rnorm(80)
>>
>>
>>
>>
>>
>
> I typed a = rnorm(20); then used up arrow and edited the command a few
> times. At each step an extra line is generated in the console.
>
> R 2.4.0 GUI 1.17 (3868), OS X 10.4.8 intel, but I always noticed this,
> even in a previous installation in a ppc.
>
> On 10/9/06, Simon Urbanek <simon.urbanek at r-project.org> wrote:
>>
>> On Oct 9, 2006, at 11:18 AM, Roberto Osorio wrote:
>>
>> > I meant the console, using the up arrow to call the line editor to
>> > edit previous commands. To reproduce the behavior, try
>> > 1. Use up arrow to recall a previous command
>> > 2. Do edit this command (otherwise it's fine)
>> > 3. Now use the up arrow again. (An extra blank line is created)
>> > 4. Edit a previous command again.
>> > 5. Now use the up arrow again. (You should see two extra blank
>> lines)
>> >
>>
>> I'm sorry but I can't reproduce this. When I'm editing a previous
>> command and press <up>, no line is added and the just edited change
>> is discarded (to be precise pressing <up> in the middle of a command
>> moves your cursor up such that you can copy/paste in the history text
>> - if you want the previous command, you have to go to the beginning
>> or end of the line - but neither has anything to do with adding
>> lines).
>>
>> This is R 2.4.0 GUI 1.17 (3868), Mac OS X 10.4.7 ppc. What system
>> and R are you running?
>>
>> Cheers,
>> Simon
>>
>>
>>
>
>
More information about the R-SIG-Mac
mailing list