Am 02.01.2017 um 18:13 schrieb Jan Tille:
matrix r_test2={} set skip_missing off matrix
r_test2={NA,0.31643,-0.11822,2.9720 ; NA, 0.96456,-0.58746,1.4570 ;
NA, 0.79388,0.54611,-1.0222} print r_test2
OK, I see, it's the missings.
More precisely: The matrix saved by R (via gretl.export) represents the
missings as "NaN", while gretl seems to prefer "nan" (lowercase).
(also @Allin:) I manually changed all "NaN" to "nan" in the saved file
and then gretl's mread() accepts it.
Jan, as a workaround for your case until this is fixed, could you
somehow restrict your data to have no missings already in gretl, before
you call R, then it should work.
hth,
sven