[R-SIG-Mac] Block indent/un-indent crashes R 3.0 RC

Robert J Goedman goedman at icloud.com
Wed Feb 6 17:54:55 CET 2013


Thanks Holly & Brian,

I've been able to reconstruct the problem and I think it happens (only?) inside a more complex setup, e.g.:

If a new doc is opened and 2 lines are entered:

a <- 1:3
print(a)

no problems.

But:

for (i in 1:3) {
a <- 1:3
print(a)
}

will crash R.app if both lines are indented/un-indented.

I believe the crash happens when the parsing for functions is initiated.

Rob J. Goedman
goedman at icloud.com




On Feb 6, 2013, at 8:41 AM, "Beale, Holly (NIH/NHGRI) [F]" <holly.beale at nih.gov> wrote:

> The keyboard commands cause the errors for me. 
> 
> 
> On Feb 6, 2013, at 11:37 AM, Bryan Hanson wrote:
> 
>> Must be a clue.  I was carrying out that action via the menu items, not the key equivalents.  Bryan
>> 
>> On Feb 6, 2013, at 10:45 AM, Robert J Goedman <goedman at icloud.com> wrote:
>> 
>>> Hi Brian,
>>> 
>>> On my system ( similar to yours, see below sessionInfo() ), indent/un-indent in the internal editor ( using Cmd/Apple-] and Cmd/Apple-[  ) work fine.
>>> 
>>> Rob J. Goedman
>>> goedman at icloud.com
>>> 
>>>> sessionInfo()
>>> R Under development (unstable) (2013-02-05 r61843)
>>> Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
>>> 
>>> locale:
>>> [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
>>> 
>>> attached base packages:
>>> [1] stats     graphics  grDevices utils     datasets  methods   base     
>>> 
>>> 
>>> 
>>> On Feb 5, 2013, at 5:22 PM, Bryan Hanson <hanson at depauw.edu> wrote:
>>> 
>>>> Using the GUI indent/un-indent with more than one line of code selected crashes R for the version below.  Modifying only one line does not.
>>>> 
>>>> Thanks, Bryan
>>>> 
>>>> [R.app GUI 1.53 (6437) x86_64-apple-darwin9.8.0]
>>>> 
>>>>> sessionInfo()
>>>> R Under development (unstable) (2013-02-03 r61829)
>>>> Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
>>>> 
>>>> locale:
>>>> [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
>>>> 
>>>> attached base packages:
>>>> [1] stats     graphics  grDevices utils     datasets  methods  
>>>> [7] base     
>>>> 
>>>> other attached packages:
>>>> [1] sos_1.3-5  brew_1.0-6
>>>> 
>>>> _______________________________________________
>>>> R-SIG-Mac mailing list
>>>> R-SIG-Mac at r-project.org
>>>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>>> 
>> 
>> 
>> 	[[alternative HTML version deleted]]
>> 
>> _______________________________________________
>> R-SIG-Mac mailing list
>> R-SIG-Mac at r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>



More information about the R-SIG-Mac mailing list