At first I would like to thank you (Allin and Berend) for your help!


Em 28 de novembro de 2009 Alllin Cottrell <cottrell@wfu.edu>
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

Ok, it worked just fine. But according to Gretl User's Guide (p. 217), assuming R was launched successfully, you will notice that two commands have been executed automatically:

gretldata <- read.table("/home/username/.gretl/Rdata.tmp", header=TRUE) attach(gretldata)
attach(gretldata)

In fact, this doesn't occur.


Em 28 de novembro de 2009 Berend Hasselman <bhh@xs4all.nl>
I don't quite understand what is going on.

I can't start R from Gretl (Menu -> Tools -> Start GNU R) on my Mac (Snow Leopard).
 
In the Terminal what is the output of:   "which R"  (Leave out the quotes!)
Why use xterm in "Command to launch GNU R"

There are two options for the command:

1:  /usr/bin/R
2. /Applications/R.app/Contents/MacOS/R

The first starts the command line version R and the second starts the R Gui.

The first option doesn't work (nothing happens), but the second option does.

Best,
Henrique C. de Andrade
Doutorando em Economia Aplicada
Universidade Federal do Rio Grande do Sul
www.ufrgs.br/ppge