Gretl-Hansl "IDE" for Sublime editor
by Artur Tarassow
Dear all,
some weeks ago I've started to switch to the sublime editor
(https://www.sublimetext.com/) for writing gretl code.
Even though I like the simplicity of the gretl editor and its features
such as syntax highlighting and auto-itendation, it lacks some features
of modern IDEs such as "goto-anything", "goto-definition", custom
keybindings, fancy themes, git-implementation, snippets etc. which make
life much easier when working on larger projects. Don't get me wrong,
the gretl editor is great but was _never_ supposed to become a proper
software-development IDE but rather has another focus which is totally fine.
So I started to write the "Hansl-Gretl-Language" package for sublime
which includes the following features:
- 3 gretl build-systems (client mode, batch mode, and REPL mode) for
executing hansl code by means of sublime (plots are also working!)
- syntax-highlighting
- completion of gretl commands, accessors and keywords
- some snippet examples for speeding up coding
The project still has the following (known) issues:
- no auto-itendation (still have to figure out how this works)
- issues with some corner-cases which are not syntax-highlighted (regex
can become so hard!)
The package can be downloaded through sublimes package control system,
and can be found here:
https://packagecontrol.io/packages/Hansl-Gretl-Language
If somebody wants to participate on this project, check out the code on
my github repository:
https://github.com/atecon/Hansl-Gretl-Language
For those interesting in the sublime editor, check out "OdatNurd"'s
brilliant tutorials on youtube:
https://www.youtube.com/user/nurdz
Enjoy the package,
Artur
11 months, 3 weeks
Some new features in the next version
by Sven Schreiber
Hi again, let me put this information about new features in the
development (= not yet released) version into this separate message.
(And no, there's no schedule yet for when the next version will be
released.)
I'm not going to repeat the entire changelog which I linked to in the
previous message; this is just about the stuff that might be most
interesting for the end user:
- A hansl (scripting) function distance(): "evaluate the distance
between points on various metrics such as Euclidean, Manhattan, Hamming,
Chebyshev, Cosine and Mahalanobis"
- Also for scripting: you can now use the keyword "end" for indexing
into multi-element objects, to denote the last entry or item. I'm not
sure if this is already documented, by the way, but basically "end" can
stand in for rows(x), cols(x), nelem(x), depending on the context.
- Panel data time dimension: This handling has been much improved. For
example, creating a new panel dataset in the GUI is now much easier, you
can directly enter the wanted n and T dimensions. And restricting the
sample in the GUI is now also possible in the time dimension.
Again, this only concerns the next version (and current snapshots)!
thanks
sven
3 years
Linear programming in gretl
by Sven Schreiber
Hi everybody,
it occurred to me that new features are not always mentioned or posted
to the users mailing list. (As opposed to the discussion on the
development list.)
So, first of all let me remind you of the changelog, in case you're
interested: http://gretl.sourceforge.net/ChangeLog.html
One example is that in the latest released version 2021d there's a new
function lpsolve(), which --quoting from the changelog-- "supports
linear programming via the lpsolve library". I guess that could be
useful for a number of people. There's an entire pdf help document for
that available under the Help menu (gretl + lpsolve).
cheers
sven
3 years
StrucTiSM version 0.7
by Sven Schreiber
Hi all,
we're happy to announce a new version of the StrucTiSM contributed
function package. The main new feature is the possibility to forecast
from models that include exogenous variables. (Of course provided the
future values of those variables are known, for example in the case of
deterministic terms.)
As always, the new version is available from within gretl (File /
Function packages / On server).
Let us know on this list if there are any remaining problems.
thanks
sven
3 years, 1 month
Information on the "kmeans" package
by Artur T.
Hi folks,
I've written a new package for identifying clusters of observations by
means of the unsupervised learning K-means algorithm. For details see here:
https://en.wikipedia.org/wiki/K-means_clustering
The new package --named "kmeans" -- is currently not available at the
gretl package server as it depends on a new built-in function which will
not be be available before the next gretl release.
However, those of you who would like to use it right now, simply need to
do the following:
1. Get the latest gretl snapshot, and
2. obtain the package file (incl. the documentation and sample script)
from here:
https://github.com/atecon/kmeans/blob/master/src/kmeans.gfn
Please report any remaining bugs on the mailing list.
Best,
Artur
3 years, 1 month
the getQuandl package (and the new name of the Quandl website)
by Sven Schreiber
Hi,
we have noticed that the getQuandl contributed function package has
stopped working. This package could be used to fetch data series from
the Quandl website, but that site was bought by Nasdaq and changed its
name. (Nasdaq Data Link, or see data.nasdaq.com) Therefore, the access
URLs that the package used are no longer valid.
We have contacted the package author, and hopefully the package will be
adapted. But in the meantime let me ask, who among the gretl users knew
the Quandl data source and/or were using the getQuandl package?
Of course we know that the majority of users are not on this mailing
list, but still any feedback would be interesting. This may also
influence the decision on whether to retire the package in case it were
no longer maintained.
thanks for any reactions on this
sven
3 years, 1 month