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.
I sent a mail for our gretl list speaking about my problems with
accented filenames. Well, I hadn't solved my problem yet. Because of this I
try to use a PC (with Windows XP) computer to avoid these problems. But
another problem had arised!
I going to describe the problem to you with details:
(1) I opened gretl (version 1.7.8cvs build date 2008-09-22)
(2) I opened the datafile called "data9-7.gdt" (from the Ramanathan's
(3) I saved these file with another name: "Acentuação.gdt"
(4) I closed gretl
(5) I opened gretl again clicking in "Acentuação.gdt" twice
(6) I deleted the series 9, 10 and 11 (named SPRING, SUMMER and FALL,
(7) I saved the database with these changes and closed gretl*
*After the "step 7", described above, I`d noticed that a new file, called
"Acentuação.gdt~" had appeared in the same folder of the file
"Acentuação.gdt". Before proceeding I had deleted this new file
(8) I opened gretl again with a double click in the file "Acentuação.gdt"
(9) I opened the series called PRICE and choose the option "graph"
(10) I saved the graph as a session icon
(11) I closed the graph and tried to save the session with the name
"Acentuação Session.gretl". In that point the following message appears:
"zip error: File not found or no read permission (file '.Acentuação Session'
was not found)"
(12) After that message I tried to save the session with the name
"Acentuacao Session.gretl" (without accented characters). The software
(gretl) saved the session with success with the name "Acentuacao
(13) I closed gretl and when I'd tried to open the session file called
"Acentuacao Session.gretl"the following message appears:
"No such file or directory"
What's wrong? Am I doing any mistake? Any help are welcome!
PS.: I know I'm bugging you guys, but it isn't my intention! Sorry! :(
I just downloaded Gretl for Windows and the X-12-ARIMA and TRAMO/SEATS
software but I cannot reach these last programms from the "Variable" menu in
I just run the self-installer file for both of them. Do I have to choose a
particular directory where to download the programms?
Thank you all.
Is there any good way of importing data into gretl in ascii format that
does not have variable names at the top and/or the data is in fixed
width columns (e.g. data from ICPSR.org? In stata, spss and sas, this
is done by writing dictionary/setup programs. Can the same thing be
done in gretl? If not, is there a work around?
http://www.fastmail.fm - IMAP accessible web-mail
Dear Gretl Users:
As some of you may already know, each year Google organizes the Google
Summer of Code (GSoC) program and supports open source development by
offering students around the world stipends for engaging in helping
different open source software projects. We think that this is a very
important program because it helps students understand the social side
of programming and become familiar with the open source development
model while also assisting the development of various open source
This year, we decided to apply to this program and formalized a list
of projects that a student can undertake over the summer with the help
of a gretl developer. Our GSoC "ideas" list is located at:
If you have any comments on the list or have additional ideas, please
get in touch with the organization administrator (me) so that we can
discuss and see wheather they are feasible to accomplish through this
kind of program. In addition, if you are a student with a knowledge of
the C programming language, you can consider applying for one of the
projects or propose your own idea. In either case, please get in touch
with the developers through subscribing to the gretl-devel mailing
We look forward to hearing from you.
A. Talha YALTA
Gretl GSoC 2009 Organization Administrator
“Remember not only to say the right thing in the right place, but far
more difficult still, to leave unsaid the wrong thing at the tempting
moment.” - Benjamin Franklin (1706-1790)
I am really glad that you have incorporated the gnuplot command within
the loop structure. But one thing still remains.
Of course, one can produce figures using the loop command now. But I
cannot save these figures in the session icon view window for further
manipulation or so. The thing is, when I want to save a graph by
fig_X <- gnuplot --time-series --with-lines X
gretl generates and saves it as an icon.
But using this command within a loop does not work, as for example
loop foreach i X Y
fig_$i <- gnuplot
Gretl only saves the graph as a *.plt file.
Would it be possible to allow for this feature?
The actual reason why I am asking is that I do not know how to handle
the produced *.plt file. Actually I would like to produce a *.eps file
or whatever automatically. For example by
loop foreach i X Y
fig_$i <- gnuplot
save fig_$i as eps
I can't find any reference in the manual about this som I'm asking the
question here: is anyone aware of literature on how Gretl's automatic lag
length selection for the ADF test perform compared to lag selection by the
AIC or BIC criteria?
/Olle O, Uppsala, Sweden
I have the following problem. I would like to start an X-12-Arima analysis on a time serie I have (a price of a product).
Unfortunately the two "buttons/selections" (X12 ARMIA and TRAMO Seats) below Variable button in the menu cannot be selected ?
What could be the problem ? I imported my data as a time series.
Thanks a lot
Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy!
Dear Allin & all
Thanks for your great job in building this software. I am trying to
translate gretl into Traditional Chinese. What are the files (for
example, gretl.mo) you needed to be attached in the gretl official
I've done the translation of the menu and dialog box and tested it
both in winxp, win2000, ubuntu (7.x, 8,x). They all look fine without
any modification on the OS's font settings.
But it seems that Tradition Chinese characters in the output and
gnuplot needs specific fonts (rather than the default installed fonts)
to be shown correctly. That is, the default font in windows "Courier
New" does not work for Traditional Chinese. Users have to change the
fixed font to, e.g., MS Gothic.
Does the translation of other lanaguages encounter the similar
problems, and how does this can be solve? I mean that after
installation, do the users have to change the fixed font setting
themselve (as well as to set the environmental variable, set LANG=tw,
in windows) when they try to use the locale *.mo in order to show
Chung Yuan Christian University