Dear Gretl Team,

I tried to estimate some stuff using R (via Gretl) and I got an error. Look at the command:

   foreign language=R --send-data
   l_cambio <- gretldata[,"l_cambio"]
   end foreign

Gretl shows me an error message:

"C:/Users/henrique/AppData/Roaming/gretl/R.msg: No such file or directory"

Looking at ".gretl2rc" file I realized what is going wrong:

   # Command to launch GNU R
   Rcommand = C:\Program Files\R\R-2.15.0\bin\R.exe
   # Path to Rterm.exe
   Rbin = C:\Program Files\R\R-2.12.2\bin\i386\Rterm.exe
   # Path to R library
   Rlib = C:\Program Files\R\R-2.15.0\bin\i386\R.dll

The path to Rterm.exe is incorrectly assigned and it can't be changed via the GUI options. To solve my problem I just edited the path to Rterm.exe:

   Before: "Rbin = C:\Program Files\R\R-2.12.2\bin\i386\Rterm.exe"
   After:   "Rbin = C:\Program Files\R\R-2.15.0\bin\i386\Rterm.exe"

I think it would be good to have this option in our GUI menus (once it could be difficult to the unexperienced users to edit the ".gretl2rc" file).

Best regards,

Henrique Andrade