Current gretl CVS and the Windows snapshot at
contain release candidate 1 for gretl 1.7.6.
Please note that this version involves a backward-incompatible
change with respect to gretl 1.7.5 and earlier, affecting
user-defined functions that (a) take a named list of variables as
an argument and (b) do things with the list-member variables by
means of a "foreach" loop on the list.
I won't go into the rationale for this change here. Anyone who
wants the details may look at the proceedings on the gretl-devel
list for July, which were mostly taken up with this issue:
There's also a brief discussion in the chapter of the User's Guide
that deals with user-defined functions. But here's the bottom
line for users:
* If you want to "get hold of" a list-member variable in the
context noted above, you have to use the syntax listname.varname,
where listname is the name of the list in question and varname is
the name of the list member. (This is required only if you're
working with a list that was supplied as a function argument.)
Trivial example: inside a function, creating new variables which
are the cubes of the members of an original list, xlist, where
xlist is an argument to the function.
loop foreach i xlist
$i_3 = $i^3
loop foreach i xlist
$i_3 = (xlist.$i)^3
In the new scheme, "$i" gets the name of the list-member variable
alright, but the variable is not "visible" under that name within
the function. So on the right-hand side of the expression that
creates the cubes, we need "(xlist.$i)^3". (Well, actually the
parentheses are not required, but wearing your seatbelt is in
general a good idea.)
Although this may affect quite a large number of existing
functions, we believe the effects are localized and the update
should be trivial. If anyone has a function for which the update
is _not_ trivial, please let us know.
geno83(a)gmail.com @ wrote 2008-04-17 19:12:44 :
> I'm working on ANOVA. I want put one way Anova and two way Anova to
> I made first version of one way ANOVA. It is still test version, but
> it's working.
> You can download sources and test it.
> I will be glad if you put ANOVA to gretl official version.
Very good. ANOVA is one of the features I have missed in gretl. I hope that
you will continue to contribute code to gretl.
Thank you for providing the image file for Gretl 1.6.5.
However, when I load the application on Leopard, I receive the
following error (with a crash):
Process: gretl_x11 
Version: ??? (???)
Code Type: PPC (Native)
Parent Process: Gretl 
Date/Time: 2008-07-29 20:55:27.677 +0530
OS Version: Mac OS X 10.5.4 (9E17)
Report Version: 6
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x000000008fe0105c
Crashed Thread: 0
Dyld Error Message:
Library not loaded: /usr/lib/libiconv.2.dylib
Referenced from: /usr/X11R6/lib/libXft.2.dylib
Reason: Incompatible library version: libXft.2.dylib requires
version 7.0.0 or later, but libiconv.2.dylib provides version 5.0.0
I guess this has got to do with the compatibility issues between the
libraries in Tiger and Leopard. I have Xcode installed and it has both
directories for Tiger and Leopard under SDKs. I also ran otool on /usr/
lib/libiconv.2.dylib and here is the output:
/usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
So I really do not see the issue, however Gretl does see an issue! :(.
The otool output on the dylib under MacOS10.4u.sdk/usr/lib shows
compatibility only with 5.0.0. However, Gretl seems to have a
complaint with /usr/lib/libiconv.2.dylib. I am puzzled.
Can someone please help? I would be really grateful!
thank you very much.
Department of Chemical Engineering
IIT Madras, Chennai 600036
estimating a simple OLS I get a different standard error than expected.
The formula is simply ((res'*res)/n)^(1/2), isn't it? Making the calculation
outside Gretl I achieve a different result.
The version is 1.7.5 released last June.
I downloaded the latest snapshot today (built: 2008-07-20). Until now
the problem seems to be solved on my Windows machine. I have no problems
to open old sessions.
Thanks for your efforts!
When I run scripts in console to create several seperate time series, the graphs flashed and disappear. Then I tried to run in script, but I didn't see the output graphs come out. Does someone try to do the same thing before?
I installed Gretl on my Mac (10.4). I also installed XDrawin.
I can open Gretl by double clicking and following the documentation I
tried to do it from the xterm in XDarwin. After typing ./gretl I
received the following message:
Contents/Resources/bin manolo$ ./gretl
Couldn't read /Users/manolo/.gretl2rc
On Mon, 21 Jul 2008, bulent.miran(a)ege.edu.tr wrote:
> You might remember me for the Gretl cracks during ARIMA. In new Gretl at
> 20-Jul-2008 10:33,
> again i had Gretl cracks. Whenever I wanted to make ARIMA estimation, i
> got the failure message as attached. I used the data from Gujarati,
> Table_21.1.gdt. The same failure happened in other friends' gretl too.
Confirmed, thanks. A fix is now in CVS.
Allin: the problem was happening when building the 3-D fitted/actual plot
in the function add_vars_to_plot_menu() in gui2/gui_utils.c, and was
related to the presence of the separator in the command list. I added a
check to make sure that the double_underscores() function isn't applied to
LISTSEP, but maybe there's a better way to deal with this. (Of course,
lists with separators shouldn't be banned outright, since we may have tsls
Riccardo (Jack) Lucchetti
Dipartimento di Economia
Università Politecnica delle Marche