No, it is the version from the repository.The output is the following:
gretl version 1.10.1
Current session: 2016-06-30 13:25
? nulldata 500
periodicity: 1, maxobs: 500
observations range: 1 to 500
? setobs 12 1960:1
Full data range: 1960:01 - 2001:08 (n = 500)
? include /home/andreas/Desktop/test_fcn.inp
/home/andreas/Desktop/test_fcn.inp
? e1 = normal()
Generated series e1 (ID 2)
? e2 = normal()
Generated series e2 (ID 3)
? series x1 = 0
Generated series x1 (ID 4)
? series x2 = 0
Generated series x2 (ID 5)
? x1 = 0.5*x1(-1) + e1
Replaced series x1 (ID 4)
? x2 = 0.9*x1(-1) + e2
Replaced series x2 (ID 5)
? list xx = x1 x2
Generated list xx
? xxlm = make_lags_m({xx},2)
Generated matrix xxlm
? list xxl = make_lags(xx, 2)
Syntax error
Error executing script: halting
list xxl = make_lags(xx, 2)
And if I re-run the program test.inp I get this message:
gretl version 1.10.1
Current session: 2016-06-30 13:26
nulldata 500
Sorry, this command is not available in loop mode
Error executing script: halting
nulldata 500
On Thursday, June 30, 2016 1:07 PM, Riccardo (Jack) Lucchetti
<r.lucchetti(a)univpm.it> wrote:
On Thu, 30 Jun 2016, Andreas Zervas wrote:
Hi all,
I am attaching two scripts that produce a behavior that puzzles me.
test.inp makes some series and calls test_fcn.inp; the latter has 2
functions that produce lags for a list of variables and for matrices.
Under Windows 7 & 8 (and Gretl 2015d in both machines) the code runs -
it is an old code since 2011 and Gretl 1.9.5 I think. However, the
function for lists is not working in Linux (Ubuntu 15.10 + Gretl 1.10.1)
and I can not understand why.
The problem seems more general, as other functions that I have work with
matrix arguments but not with list arguments in Linux.
Any suggestions?
Thank you for your time and effort.
I wouldn't know what to say, your example scripts work just fine here on
linux.
Are you compiling from source or installing the package supplied by your
distro?
-------------------------------------------------------
Riccardo (Jack) Lucchetti
Dipartimento di Scienze Economiche e Sociali (DiSES)
Università Politecnica delle Marche
(formerly known as Università di Ancona)
r.lucchetti(a)univpm.it
http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------