Skip to content
Back to formatted view

Raw Message

Message-ID: <3295813A-FD96-4F7D-B70C-B1C54EBC1618@stat.berkeley.edu>
Date: 2006-03-13T17:15:14Z
From: Kasper Daniel Hansen
Subject: R set up on Mac OS 10.4.5
In-Reply-To: <12d13a930603130733p28f62d4ai7296ec4ff1af0e43@mail.gmail.com>

You need to start the X server and to set the DISPLAY environment  
variable. You should be familiar with starting the X server given  
that you are already running xterm. The DISPLAY variable may be set  
by creating the file
    ~/.profile
containing
   export  DISPLAY=:0.0
(you can also use .bashrc/.bash_profile but as far as I know Apple  
have simplified to .profile).

/Kasper

On Mar 13, 2006, at 7:33 AM, David Johnson wrote:

> I have R on Mac OS 10.4.5 on a MacBook pro.  When I run R on terminal,
> plotting functions don't work.  (basically, I type hist(x) and nothing
> happens)  However, when I run it from Xterm or from R.app, the quartz
> application is functional and the graphics pop up.  What's going on?
> Anyone encounter something like this?
>
> Thanks,
> Dave
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac