I'm getting a reproducible crash when trying to run on my desktop (Ubuntu linux 20.04 and gretl built yesterday from git) the following script (which is as is in the "Hansl Primer" guide):
<hansl>
open bjg.gdt
foreign language=R --send-data
y <- gretldata[, "lg"]
strmod <- StructTS(y)
compon <- as.ts(tsSmooth(strmod))
vars <- as.matrix(strmod$coef)
gretl.export(compon)
gretl.export(vars)
end foreign
append @dotdir/compon.csv
rename level lg_level
rename slope lg_slope
rename sea lg_seas
vars = mread("vars.mat", 1)
</hansl>
The version of R seems not to affect. I just upgraded from R 3.6 to 4.1.2 obtaining the same crash.
I have gretl 2001.c built on august in my
laptop (ubuntu 20.04 as well), and this script may be run
without problem.
-- Ignacio Díaz-Emparanza Departamento de Métodos Cuantitativos Universidad del País Vasco - Euskalherriko Unibertsitatea, UPV/EHU Tfno: (+34) 94 601 3732