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

2013-02-07 Thread Robert J Goedman
And the nightly build version  also works! I tested R.app rev 6438 for R 3.0.x 
64 bit on ML.

Rob J. Goedman
goed...@icloud.com


On Feb 6, 2013, at 12:35 PM, Robert J Goedman goed...@icloud.com wrote:

 Did a quick check and seems to work fine!!!
 
 Thanks a lot!
 
 Rob J. Goedman
 goed...@icloud.com
 
 On Feb 6, 2013, at 12:29 PM, Simon Urbanek simon.urba...@r-project.org 
 wrote:
 
 Patch committed. I'm away with limited possibilities, so please check 
 tonight's build if it works ...
 
 Thanks,
 Simon
 
 On Feb 6, 2013, at 2:47 PM, Hans-Jörg Bibiko wrote:
 
 Hi,
 
 Bryan has right, selecting lines causes the crash. Just fixing it. I'll 
 send a patch to Simon ASAP.
 
 Thanks for the reports!
 
 Best,
 --Hans
 ___
 R-SIG-Mac mailing list
 R-SIG-Mac@r-project.org
 https://stat.ethz.ch/mailman/listinfo/r-sig-mac
 
 ___
 R-SIG-Mac mailing list
 R-SIG-Mac@r-project.org
 https://stat.ethz.ch/mailman/listinfo/r-sig-mac

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


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

2013-02-06 Thread Prof Brian Ripley

On 06/02/2013 01:22, Bryan Hanson 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.


There is no '3.0 RC' (and never will be: the version will be 3.0.0.  See 
the posting guide).


Why do you think this is anything to do with R?  It sounds like an issue 
for R.app revision 6437 which is also supplied with the R-patched 
snapshots, to be 2.15.3 much sooner than 3.0.0.  Please try the latter.





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@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac




--
Brian D. Ripley,  rip...@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, UKFax:  +44 1865 272595

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


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

2013-02-06 Thread Robert J Goedman
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
goed...@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 han...@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@r-project.org
 https://stat.ethz.ch/mailman/listinfo/r-sig-mac


[[alternative HTML version deleted]]

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


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

2013-02-06 Thread Serrano, Pablo
Rob,

Should I upgrade my software to 10.8 / Mountain Lion?

Pablo E Serrano Aybar
HPB Fellow
University of Toronto

From: r-sig-mac-boun...@r-project.org [r-sig-mac-boun...@r-project.org] on 
behalf of Beale, Holly (NIH/NHGRI) [F] [holly.be...@nih.gov]
Sent: February 6, 2013 10:54 AM
To: Robert J Goedman; Bryan Hanson; r-sig-mac@r-project.org
Subject: Re: [R-SIG-Mac] Block indent/un-indent crashes R 3.0 RC

I experience the problem intermittently. I can't reproduce it.

OSX:
10.7.5

 sessionInfo()
R version 2.15.2 (2012-10-26)
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] graphics  grDevices datasets  utils stats methods   base

other attached packages:
[1] MASS_7.3-22 reshape_0.8.4   plyr_1.7.1  scales_0.2.2
ggplot2_0.9.2.1

loaded via a namespace (and not attached):
 [1] colorspace_1.2-0   dichromat_1.2-4digest_0.6.0   grid_2.15.2   
 gtable_0.1.1
 [6] labeling_0.1   memoise_0.1munsell_0.4proto_0.3-9.2 
 RColorBrewer_1.0-5
[11] reshape2_1.2.1 stringr_0.6.1



On Feb 6, 2013, at 10:45 AM, Robert J Goedman 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
 goed...@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 han...@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@r-project.org
 https://stat.ethz.ch/mailman/listinfo/r-sig-mac


   [[alternative HTML version deleted]]

 ___
 R-SIG-Mac mailing list
 R-SIG-Mac@r-project.org
 https://stat.ethz.ch/mailman/listinfo/r-sig-mac

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

This e-mail may contain confidential and/or privileged i...{{dropped:9}}

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


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

2013-02-06 Thread Bryan Hanson
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 goed...@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
 goed...@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 han...@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@r-project.org
 https://stat.ethz.ch/mailman/listinfo/r-sig-mac
 


[[alternative HTML version deleted]]

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


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

2013-02-06 Thread Beale, Holly (NIH/NHGRI) [F]
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 goed...@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
 goed...@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 han...@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@r-project.org
 https://stat.ethz.ch/mailman/listinfo/r-sig-mac
 
 
 
   [[alternative HTML version deleted]]
 
 ___
 R-SIG-Mac mailing list
 R-SIG-Mac@r-project.org
 https://stat.ethz.ch/mailman/listinfo/r-sig-mac

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


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

2013-02-06 Thread Robert J Goedman
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
goed...@icloud.com




On Feb 6, 2013, at 8:41 AM, Beale, Holly (NIH/NHGRI) [F] 
holly.be...@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 goed...@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
 goed...@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 han...@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@r-project.org
 https://stat.ethz.ch/mailman/listinfo/r-sig-mac
 
 
 
  [[alternative HTML version deleted]]
 
 ___
 R-SIG-Mac mailing list
 R-SIG-Mac@r-project.org
 https://stat.ethz.ch/mailman/listinfo/r-sig-mac


___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


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

2013-02-06 Thread Hans-Jörg Bibiko
... I've forgotten to mention selecting lines AND if these lines are inside of 
a {...} pair
___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


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

2013-02-06 Thread Robert J Goedman
Hi Hans,

Thanks for taking a look.

Bryan has convinced me it not just inside a pair of {} by sending me below file 
he produced. That crashes R.app indeed as well.

I continue to believe it happens when the file is parsed, at least that seems 
to be what happens in XCode.

Rob J. Goedman
goed...@icloud.com




indent_prob.R
Description: Binary data


On Feb 6, 2013, at 10:50 AM, Hans-Jörg Bibiko bib...@eva.mpg.de wrote:

 ... I've forgotten to mention selecting lines AND if these lines are inside 
 of a {...} pair

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


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

2013-02-06 Thread Simon Urbanek
Patch committed. I'm away with limited possibilities, so please check tonight's 
build if it works ...

Thanks,
Simon


On Feb 6, 2013, at 2:47 PM, Hans-Jörg Bibiko wrote:

 Hi,
 
 Bryan has right, selecting lines causes the crash. Just fixing it. I'll send 
 a patch to Simon ASAP.
 
 Thanks for the reports!
 
 Best,
 --Hans
 ___
 R-SIG-Mac mailing list
 R-SIG-Mac@r-project.org
 https://stat.ethz.ch/mailman/listinfo/r-sig-mac
 
 

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


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

2013-02-06 Thread Robert J Goedman
Did a quick check and seems to work fine!!!

Thanks a lot!

Rob J. Goedman
goed...@icloud.com




On Feb 6, 2013, at 12:29 PM, Simon Urbanek simon.urba...@r-project.org wrote:

 Patch committed. I'm away with limited possibilities, so please check 
 tonight's build if it works ...
 
 Thanks,
 Simon
 
 
 On Feb 6, 2013, at 2:47 PM, Hans-Jörg Bibiko wrote:
 
 Hi,
 
 Bryan has right, selecting lines causes the crash. Just fixing it. I'll send 
 a patch to Simon ASAP.
 
 Thanks for the reports!
 
 Best,
 --Hans
 ___
 R-SIG-Mac mailing list
 R-SIG-Mac@r-project.org
 https://stat.ethz.ch/mailman/listinfo/r-sig-mac
 
 
 


[[alternative HTML version deleted]]

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac