On Thu, 26 Apr 2012, Henrique Andrade wrote:
I tried to estimate some stuff using R (via Gretl) and I got an
error. Look
at the command:
<hansl>
foreign language=R --send-data
l_cambio <- gretldata[,"l_cambio"]
PP.test(l_cambio,lshort=TRUE)
PP.test(l_cambio,lshort=FALSE)
end foreign
</hansl>
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. [...]
I suppose it must have been read from the registry at some
earlier date. Anyway, now that path should be settable via the
GUI, in CVS and anapshots.
Allin Cottrell