Re: [R-SIG-Mac] Lion and X11

2012-01-28 Thread Simon Urbanek
Martin, On Jan 28, 2012, at 9:31 PM, Simon Urbanek wrote: > > On Jan 28, 2012, at 8:21 PM, Martin Renner wrote: > >> Thank you to everybody who replied! Simon, on my machine, I can reproduce >> this segfault every time using these steps: >> >> - open Terminal.app (or iTerm or Aquamacs), start

Re: [R-SIG-Mac] Lion and X11

2012-01-28 Thread Simon Urbanek
On Jan 28, 2012, at 8:21 PM, Martin Renner wrote: > Thank you to everybody who replied! Simon, on my machine, I can reproduce > this segfault every time using these steps: > > - open Terminal.app (or iTerm or Aquamacs), start R --vanilla (RStudio, or > R.app) > in R: > - x11() (in Term

Re: [R-SIG-Mac] Lion and X11

2012-01-28 Thread Martin Renner
Thank you to everybody who replied! Simon, on my machine, I can reproduce this segfault every time using these steps: - open Terminal.app (or iTerm or Aquamacs), start R --vanilla (RStudio, or R.app) in R: - x11() (in Terminal, my R defaults to x11, without me doing anything; in R.app

Re: [R-SIG-Mac] Lion and X11

2012-01-28 Thread cstrato
Dear Simon, Thank you for your replies, I understand now your explanation about R.app. I do not think that the topic on the locale is unrelated to the plot problem, since adding to .bashrc: export LC_CTYPE=en_US.UTF-8 export LC_ALL=en_US.UTF-8 does solve the problem with plot(), as you can

Re: [R-SIG-Mac] Lion and X11

2012-01-28 Thread Simon Urbanek
On Jan 28, 2012, at 1:46 PM, cstrato wrote: > Yes, although I have started X11.app and run R from within an xterm I get: > > > plot(1:8) > No protocol specified > Error in X11(d$display, d$width, d$height, d$pointsize, d$gamma, d$colortype, > : > unable to start device X11 > In addition: Warn

[R-SIG-Mac] locales on OS X [Was: Lion and X11]

2012-01-28 Thread Simon Urbanek
Christian, what exactly are you talking about? This is entirely unrelated to the thread you replied to and you're mixing several completely unrelated things below. The locale is set by your system, not by R. To break down the situations: - R on the console uses the locale set by the shell it is

Re: [R-SIG-Mac] Lion and X11

2012-01-28 Thread cstrato
Here is one more confusing issue: I know that sessionInfo() gives locale: [1] C This was the case when starting R64.app or starting R from the command line. Following the advice from an earlier topic I did on the command line: $ defaults write org.R-project.R force.LANG en_US.UTF-8 Since star

Re: [R-SIG-Mac] Lion and X11

2012-01-28 Thread Simon Urbanek
Martin, can you specify more precisely what you're doing? Issuing the code you sent would use Quartz, so apparently you're doing other things that you didn't mention - so can you share those so we can try to reproduce it? Thanks, Simon On Jan 27, 2012, at 7:17 PM, Martin Renner wrote: > Hi A

Re: [R-SIG-Mac] Lion and X11

2012-01-28 Thread cstrato
Yes, although I have started X11.app and run R from within an xterm I get: > plot(1:8) No protocol specified Error in X11(d$display, d$width, d$height, d$pointsize, d$gamma, d$colortype, : unable to start device X11 In addition: Warning message: In function (display = "", width, height, poin

Re: [R-SIG-Mac] Lion and X11

2012-01-28 Thread Kasper Daniel Hansen
For what it is worth I don't see this problem on Snow Leopard, self-compiled. You can make quartz the default device by putting Sys.setenv("R_INTERACTIVE_DEVICE" = "quartz") in your .Rprofile. Kasper On Fri, Jan 27, 2012 at 7:17 PM, Martin Renner wrote: > Hi All, > > Is anybody else experienci