Dear Gretl users,
wishing you all a Happy New Year 2017.
Unfortunately I am encountering a problem when trying to interact with R, i.e. passing data back and forth.
I am using a tiny test script to make myself familiar with the interaction. This is more or less a copy-past version of the user manual’s example (36.1)
mwrite(funds,"funds.mat",1)
foreign language=R --send-data --quiet
funds1<-gretl.loadmat("funds.mat")
gretl.export(funds1,"funds12")
end foreign
matrix funds1={}
funds1 = mread("funds12.mat",1)
Gretl writes the matrix properly into the dotdir and passes it to R. The matrix, which is unaltered is saved in my dotdir as well, though somewhat larger (3.9 MB vs. 2.2 MB).
However, when I try to import that matrix from the dotdir I always get an error message.
I have no clue why this happens, because I just rename an existing matrix.
My current Gretl version is 2016b (April 2016) - running it on windows 31bit
R is 3.1.2 from 2014, which is used automatically by gretl. I do have a newer version (3.2.4) but it is installed in my users folder. I do not have admin rights to install a newer version in the “program” folder.
Thanks in advance and all the best,
Jan