On Thu, 27 Dec 2012, Pindar wrote: > in order to perform a cluster analysis I tried the R connection with > 'C:\Program Files\R\R-2.15.2\bin\i386\Rgui.exe' > and > 'C:\Program Files\R\R-2.15.2\bin\i386\R.dll' > > gretl does send the data set, however when running > 'end foreign' gretl crashes with the message: "Fatal error: unable to open > the base package"!
I just tried gretl + R-2.15.2 on Windows 7. It looks as if something relevant has changed in the R setup since version 2.14. To get R working under gretl's "foreign" mechanism I had to add 'C:\Program Files\R\R-2.15.2\bin\i386' to the PATH manually (Computer/Properties/Advanced/Environment variables). That wasn't necessary before; gretl attempts to put the right PATH into the environment before starting R. I've added some debugging statements to the current snapshot, so if you run gretl with the --debug flag you should see something in a console window about what gretl is trying to do with regard to the R path. Allin Cottrell
