This is a to announce a new element of gretl, introduced along
with the 1.9.4 release. It may be relevant to people who build
gretl themselves from the source code, and possibly also to those
who package gretl for GNU/Linux distributions.
Gretl >= 1.9.4 will include a set of "addons": these are function
packages that extend gretl's functionality. Addons comprise a gfn
file (a UTF-8 text file containing function definitions written in
gretl's scripting language, but in an XML wrapper to facilitate
fast loading), along with (in some cases) documentation in PDF
format and various example scripts and/or relevant data files.
Each addon lives in its own subdirectory under
PREFIX/share/gretl/functions, where PREFIX is the path selected
for the gretl installation.
Addons differ from regular user-contributed function packages (for
a description of which see the Gretl User's Guide) in that they
are approved by the gretl authors and carry a commitment to
continued maintenance; they also have their own menu entries in
the gretl GUI, and can hold the sort of additional files mentioned
above (notably PDF documentation). A path will be provided for
users who wish to contribute addons or to "upgrade" existing
function packages to addon status.
In gretl 1.9.4 there are two addons: gig (extends gretl's GARCH
functionality) and ivpanel (offers some instrumental-variables
estimators for panel data). More will be added in later releases.
The gretl 1.9.4 packages for MS Windows and Mac OS X include the
addons. As for GNU/Linux, there are various ways of getting the
1) They are available in pre-built form as zip archives. At
present there are zip files for gig and ivpanel at
There's also a mechanism within gretl for auto-download and
install of these files on demand.
2) They have their own sub-tree in gretl CVS. See
3) We will release source packages ("tarballs") based on the CVS
tree from time to time. Each announcement of a gretl release will
include an indication of the compatible addons source package. A
first such package can be found at
In CVS and addon-source releases one finds the usual GNU mechanism
for configuring, building and installing. The release tarballs
will in fact contain pre-built gfn and PDF files so that no real
"build" is required; it should be sufficient to do, e.g.,
followed by either
or, for packagers
DESTDIR=/your/path make install
Note that at present gretl addons fall in the "noarch" category --
though at some future point it may contain C code that requires
compilation for variant architectures.
Department of Economics
Wake Forest University