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, 1 week
GARCH News Impact Curve
by Theodoros Panagiotidis
Dear all,
has anybody tried to produce news impact curve in from the GARCH option
(GUI) option in gretl and from the GARCH variants (gig 2.24)?
Is the option residuals from the GARCH option in GUI the same as the
standardised residuals in the GARCH variants gig?
regards
Theo
2 years, 4 months
Re: Bundl request from dbnomics errors
by Cottrell, Allin
On Thu, Jun 30, 2022 at 2:53 PM ESTEVEZ NUÑEZ JUAN CARLOS
<ecadrian.estevez(a)usc.es> wrote:
>
> Hi Sven,
>
> Sorry for delay, your message got unnoticed to me until yesterday.
> The problem remains the same to me, and after some tests and study,
> I believe the quiz in my Ubuntu is related to the building of the pdf file
> related to funcbody.tex file as the make command gets waiting in line 2316
> as can be seen in attached image. I believe it corresponds to the commute
> function (doc on it fixed last 22/06/17).
As usual, Juan Carlos is exactly right! I can confirm there's a
problem with building the gretl reference PDF. Hopefully we can fix it
before long.
Allin
2 years, 5 months
Re: Bundl request from dbnomics errors
by Sven Schreiber
Am 24.06.2022 um 13:23 schrieb ESTEVEZ NUÑEZ JUAN CARLOS:
> It occurs to me to test if the problem arises with an also fresh update
> in Ubuntu.
> Unfortunately, I can´t as since some days the 'make' command stops
> waiting for
> an answer after the message /! Missing $ inserted/.
> (I build all the gretl updates, following appendix B of Users Guide over
> the last years)
> Don´t know if this may be related.
Juan Carlos, I guess you have resolved this particular issue in the
meantime. It sounds as if it's coming from TeX while compiling the
documentation. I would simply try to do "make clean" and then starting over.
cheers
sven
2 years, 5 months
Help
by Asun
Hello
I need to solve the following error in gretl: when I access the ols option
and select the variables, the green and red arrows do not work. my
operating system is windows 11. thanks
2 years, 5 months
plot block with band
by Marcin Błażejowski
Hi,
I wonder if it possible to set/modify a title for bar-lines in image
legend in plot block, because I'm getting something like this:
Marcin
--
Marcin Błażejowski
2 years, 5 months
Re: Bundl request from dbnomics errors
by Cottrell, Allin
Thanks, Juan Carlos. So the problem is confirmed, at least on Windows. I'll
investigate before long.
Allin
On Thu, Jun 23, 2022 at 3:06 PM ESTEVEZ NUÑEZ JUAN CARLOS <
ecadrian.estevez(a)usc.es> wrote:
> Here, on Windows 10
> gretl 2022b-git (x86_64, gtk2, 2022-06-22)
> dbnomics 0.43 2022-01-12
> Klaus script output:
>
>
> ------------------------------
>
> _______________________________________________
> Gretl-users mailing list -- gretl-users(a)gretlml.univpm.it
> To unsubscribe send an email to gretl-users-leave(a)gretlml.univpm.it
> Website:
> https://gretlml.univpm.it/postorius/lists/gretl-users.gretlml.univpm.it/
> _______________________________________________
> Gretl-users mailing list -- gretl-users(a)gretlml.univpm.it
> To unsubscribe send an email to gretl-users-leave(a)gretlml.univpm.it
> Website:
> https://gretlml.univpm.it/postorius/lists/gretl-users.gretlml.univpm.it/
>
2 years, 5 months
OLS error
by Asun
Hello
I need to solve the following error in gretl: when I access the ols option
and select the variables, the green and red arrows do not work. my
operating system is windows 11. thanks
2 years, 5 months
Not able to open .gretl session files in a loop
by Fred Engst
I’m sorry, Sven, but as you can see, I did start a new thread.
As I said before, I have a need to loop through quit a few .gretl files I get from my students and to find something inside each of them, for example model outputs saved in the .gretl files.
I can’t do loops with .gretl files like I do with .gdt files.
Here is a sample script:
<hansl>
string path = "/Users/fred/Documents/UIBE/22-1/ECON301/Data4Students/"
string studentnames = path ~ "names.txt"
string namesread = readfile(studentnames)
strings anames = strsplit(namesread,"\n")
loop i=1..nelem(anames)
string fname = anames[i]
dataname = "@path@fname.gretl"
open \
@dataname #--preserve --quiet
scalar incomecoeff = model_income.$coeff[2]
# do something here with what I found, for example.
endloop
</hansl>
As I tried to figure out why, instead of looping .gretl files, if I just using a script to open one of them, there is a message about: “Opening a new session file will automatically close the current session. Any unsaved work will be lost. Proceed to open session file?”
There seems to be no way to turn off this warning, so the script gets hang on this warning message.
Any suggestion?
Fred
>
> Date: Sun, 19 Jun 2022 18:26:54 +0200
> From: Sven Schreiber <svetosch(a)gmx.net>
> Subject: [Gretl-users] Re: Not able to open .gretl session files in a
> loop
> To: gretl-users(a)gretlml.univpm.it
> Message-ID: <b6ddf599-8dfa-e95d-1d7d-bbaa4f0f21ca(a)gmx.net>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> Am 18.06.2022 um 01:40 schrieb Fred Engst:
>> Hi Allin and all,
>
> Fred, first of all please start a new thread when you start a new topic,
> do not reply to an unrelated one.
>
>> I have a need to loop through quit a few .gretl files, but found that I can’t do that like I do with .gdt files.
>
> Please be more specific what you mean by "can't do".
>
> cheers,
>
> sven
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Gretl-users mailing list -- gretl-users(a)gretlml.univpm.it
> To unsubscribe send an email to gretl-users-leave(a)gretlml.univpm.it
> Website: https://gretlml.univpm.it/postorius/lists/gretl-users.gretlml.univpm.it/
>
>
> ------------------------------
>
> End of Gretl-users Digest, Vol 185, Issue 12
> ********************************************
2 years, 5 months
Seasonal adjustment: Use of X13 in the GUI program has been restored
by Sven Schreiber
Hi everybody,
this is to inform you that unfortunately in the current release (gretl
2022a) a nasty bug crept in that makes it impossible to apply seasonal
adjustment with the (standard but external) X13-ARIMA procedure, at
least in the gretl GUI program -- that is, "normal" gretl with a window
and menus and so on.
Thanks to Ignacio for noticing and reporting this.!
The bug has already been fixed in the meantime, so current development
snapshots work as expected. But still it is quite regrettable, for
example because gretl 2022a was targeted at Ubuntu Linux 22.04, a
long-term support version, and so the bug will potentially have a long
life there.
An additional remark: One factor that led to the bug is that it is not
possible to test the GUI functionality in an automated way, in contrast
to what we can do for the scripts and commands. So that's where the
gretl user base comes in and is really needed! For example, right now
the next release will happen quite soon, so it would be very useful if
you can test the graphical gretl program more than you would do usually.
And then please report any bugs you find!
thanks
sven
2 years, 5 months