On Fri, 27 Nov 2009, Henrique wrote:
Em 27 de novembro de 2009 Allin Cottrell <cottrell(a)wfu.edu>
escreveu:
>
> On Fri, 27 Nov 2009, Henrique wrote:
>
> > I can't start R from Gretl (Menu -> Tools -> Start GNU R)
on
> > my Mac (Snow Leopard). The command to launch is "xterm -e R".
What's
> > wrong?
>
> You tell us: try doing "xterm -e R" at a command prompt and see
> what the error message is. My guess is that R is not in your
> PATH.
Using OS X Terminal the command "xterm R" returns no error (X11
and R initialize and work fine). Another way to have R working
is through command: "xterm
/Applications/R.app/Contents/MacOS/R". When I try to start R
inside Gretl nothing happens.
In gretl, try going to /Tools/Preferences/General, and the
Programs tab, and change the "Command to launch GNU R" to:
/usr/X11R6/bin/xterm -e R
This works on OS X 10.4.11. (Broken Mac setup: /usr/X11R6/bin is
not in the default path even after installing X11.)
Allin Cottrell