Re: [R] R can not show plots (in Mac OS X terminal)

2005-04-06 Thread David Ruau
Hi, You should use X11. It doesn't work in Terminal. You can use the basic Xterm in X11 or like I do Aterm. David Ruau On Apr 5, 2005, at 20:12, Minyu Chen wrote: Dear all: I am a newbie in Mac. Just installed R and found R did not react on my command plot (I use command line in terminal). It did

Re: [R] R can not show plots (in Mac OS X terminal)

2005-04-06 Thread Tony Han Bao
Hi On 6 Apr 2005, at 10:47, David Ruau wrote: Hi, You should use X11. It doesn't work in Terminal. To make Apple's Terminal use X11 first one should set the DISPLAY environment variable if you are using bash, put the following line in .bash_profile [[ -z $DISPLAY ]] export DISPLAY=:0.0 You can

Re: [R] R can not show plots (in Mac OS X terminal)

2005-04-06 Thread Thomas Lumley
On Wed, 6 Apr 2005, David Ruau wrote: Hi, You should use X11. It doesn't work in Terminal. You can use the basic Xterm in X11 or like I do Aterm. This is not actually true. It does work in Terminal, you just have to specify the DISPLAY, either in the shell before entering R % setenv DISPLAY :0

Re: [R] R can not show plots (in Mac OS X terminal)

2005-04-06 Thread Don MacQueen
Did you install R from source code, or did you install the binary? If you installed the binary, then you can start R by double-clicking on the R application icon. Then your default graphics device will not require X windows, and will be fully interactive (in the R sense). If you installed from

Re: [R] R can not show plots (in Mac OS X terminal)

2005-04-06 Thread Minyu Chen
Thank you very much. This is very informative and I already save it for future reference. Now I got the double clicking icon (quite mysteriously, since I tried several ways recommended by others, so I don't know which one make it works). Thanks, Minyu Chen On 6 Apr 2005, at 16:11, Don MacQueen

Re: [R] R can not show plots (in Mac OS X terminal)

2005-04-06 Thread George W. Gilchrist
This is incorrect. x11(display=0:0) opens an x11 graphics device from the terminal assuming (1) that you have installed X11 from Apple's website and (2) that x11 is running. Cheers, George On 4/6/05 5:47 AM, David Ruau [EMAIL PROTECTED] wrote: Hi, You should use X11. It doesn't work in

[R] R can not show plots (in Mac OS X terminal)

2005-04-05 Thread Minyu Chen
Dear all: I am a newbie in Mac. Just installed R and found R did not react on my command plot (I use command line in terminal). It did not give me any error message, either. All it did was just giving out a new command prompt--no reaction to the plot command. I suppose whenever I gives out a

Re: [R] R can not show plots (in Mac OS X terminal)

2005-04-05 Thread Tony Han Bao
On 5 Apr 2005, at 19:12, Minyu Chen wrote: Dear all: I am a newbie in Mac. Just installed R and found R did not react on my command plot (I use command line in terminal). It did not give me any error message, either. All it did was just giving out a new command prompt--no reaction to the plot

Re: [R] R can not show plots (in Mac OS X terminal)

2005-04-05 Thread Tony Han Bao
On 5 Apr 2005, at 8:45 pm, Minyu Chen wrote: No, the only output is postscipt. As I just install X11, I did not have it before compiling R. You can try to set the device to x11 by issue the following command, options(device = 'x11') and hope now it works. What to do now except for getting and

Re: [R] R can not show plots (in Mac OS X terminal)

2005-04-05 Thread Tony Han Bao
On 5 Apr 2005, at 9:39 pm, Minyu Chen wrote: Sorry for bothering again, but it doesn't work yet. Now it shows x11 when I type getOption(device), but when I do the plot, the terminal just simply told me x11 is not available. This is why I asked you whether you have X11 before compiling R. It's