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

Tony Han Bao tonybao at mac.com
Wed Apr 6 14:25:49 CEST 2005


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 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 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 command of plot, it will invoke the AquaTerm for a small 
>> graph, as I experience in octave. What can I do for it?
>>
>> Many thanks,
>> Minyu Chen
>>
>> ______________________________________________
>> R-help at stat.math.ethz.ch mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide! 
>> http://www.R-project.org/posting-guide.html
>>
>>
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html
>
Tony Han Bao
tonybao at mac.com




More information about the R-help mailing list