[Gretl-devel] built-in strings: $ vs. @

2020-06-29 Thread Sven Schreiber
Hi, I've noticed this behavior, perhaps Windows-specific: ? eval @gretldir > C: Das Symbol 'C' ist nicht definiert # [undefined] ? eval $gretldir C:\Program Files\gretl ? I would have expected @gretldir to either work, or to return an empty string, or to throw an error, but not this problem.

[Gretl-devel] Re: Pesaran cross-dependence panel test

2020-06-29 Thread Sven Schreiber
Am 29.06.2020 um 08:10 schrieb Riccardo (Jack) Lucchetti: On Fri, 26 Jun 2020, Sven Schreiber wrote: Am 26.06.2020 um 14:21 schrieb Sven Schreiber: Am 26.06.2020 um 12:43 schrieb Riccardo (Jack) Lucchetti: https://link.springer.com/article/10.1007/s00181-020-01875-7 (section 4) Hi Jack

[Gretl-devel] Re: Pesaran cross-dependence panel test

2020-06-26 Thread Sven Schreiber
Am 26.06.2020 um 14:21 schrieb Sven Schreiber: Am 26.06.2020 um 12:43 schrieb Riccardo (Jack) Lucchetti: when performing fixed-effects regressions, we report the classic Breusch-Pagan poolability test. However, there is an alternative test by Pesaran, https://link.springer.com/article/10.1007

[Gretl-devel] Re: Pesaran cross-dependence panel test

2020-06-26 Thread Sven Schreiber
Am 26.06.2020 um 12:43 schrieb Riccardo (Jack) Lucchetti: when performing fixed-effects regressions, we report the classic Breusch-Pagan poolability test. However, there is an alternative test by Pesaran, https://link.springer.com/article/10.1007/s00181-020-01875-7 (section 4) which is

[Gretl-devel] Another relatively uninformative error message

2020-06-20 Thread Sven Schreiber
Hi, trying to go beyond the range of the dataset obs numbers in a loop just yields a generic "data error" (instead of the expected obs number out of admissible range): nulldata 3 series x loop i=1..4 x[i] = 5 endloop thanks, sven ___ Gretl-devel

[Gretl-devel] the 'join' GUI dialog

2020-06-16 Thread Sven Schreiber
Hi, I've noticed that the GUI dialog window for 'join'-ing data apparently contains a lot of strings not marked for translation. (At least I don't remember skipping them in the German translation.) Also, for the English string "named as" I'd like to raise the question whether it would be

[Gretl-devel] Re: two problems with "setinfo ... --description=..."

2020-05-29 Thread Sven Schreiber
Am 29.05.2020 um 17:57 schrieb Allin Cottrell: On Fri, 29 May 2020, Allin Cottrell wrote: On Fri, 29 May 2020, Sven Schreiber wrote: Some new evidence here: When going to "edit attributes" of that modified series (via right-click) the new assigned descriptive label is sho

[Gretl-devel] Re: gretl bundles and JSON

2020-05-29 Thread Sven Schreiber
Am 28.05.20 um 20:20 schrieb Allin Cottrell: On Thu, 28 May 2020, Sven Schreiber wrote: I was wondering about the type information in the written json file. See the attached example. For the strings array "SS" and the nested bundle "bsub" as well as the matrices

[Gretl-devel] Re: two problems with "setinfo ... --description=..."

2020-05-29 Thread Sven Schreiber
Am 16.05.20 um 00:15 schrieb Sven Schreiber: Am 14.05.2020 um 11:09 schrieb Sven Schreiber: Am 14.05.20 um 02:47 schrieb Allin Cottrell: On Sun, 10 May 2020, Sven Schreiber wrote: package. The problem is that the descriptive label of a series is _not_ overwritten with a new content when

[Gretl-devel] Re: gretl bundles and JSON

2020-05-28 Thread Sven Schreiber
Am 12.05.2020 um 16:24 schrieb Allin Cottrell: Some devel news: you can now write gretl bundles as JSON using bwrite() and read them back from JSON using bread(). In each case gretl goes into JSON mode if the filename has extension ".json" or ".geojson". Hi, I was wondering about the type

[Gretl-devel] Re: Can't build Gretl in Ubuntu Server

2020-05-28 Thread Sven Schreiber
Am 28.05.20 um 00:12 schrieb Riccardo (Jack) Lucchetti: On Wed, 27 May 2020, Leonardo Romero wrote: Dear Riccardo (Jack) Lucchetti I sincerely regret this comment. I am a real fan of Gretl, and I wouldn't dare to bother you on the mailing lists if I haven't reviewed the documentation in deep

[Gretl-devel] Re: remove loop... --quiet in docs

2020-05-19 Thread Sven Schreiber
Am 16.05.2020 um 14:38 schrieb Sven Schreiber: Hi, since --quiet is now the default for loops, OK to remove that variant from the guide? It occurs in various places there, and probably the main explanation of the options could also be updated. (Checked against the April version of the guide

[Gretl-devel] remove loop... --quiet in docs

2020-05-16 Thread Sven Schreiber
Hi, since --quiet is now the default for loops, OK to remove that variant from the guide? It occurs in various places there, and probably the main explanation of the options could also be updated. (Checked against the April version of the guide, in case I missed some very recent edits.) Or is

[Gretl-devel] Re: two problems with "setinfo ... --description=..."

2020-05-15 Thread Sven Schreiber
Am 14.05.2020 um 11:09 schrieb Sven Schreiber: Am 14.05.20 um 02:47 schrieb Allin Cottrell: On Sun, 10 May 2020, Sven Schreiber wrote: 1 - This first problem I cannot reproduce with a minimal function example; I'm suspecting it might depend on being wrapped inside a package. The problem

[Gretl-devel] Re: two problems with "setinfo ... --description=..."

2020-05-14 Thread Sven Schreiber
Am 14.05.20 um 02:47 schrieb Allin Cottrell: On Sun, 10 May 2020, Sven Schreiber wrote: 1 - This first problem I cannot reproduce with a minimal function example; I'm suspecting it might depend on being wrapped inside a package. The problem is that the descriptive label of a series is _not_

[Gretl-devel] two problems with "setinfo ... --description=..."

2020-05-10 Thread Sven Schreiber
Hi, I'm encountering two (and a half) problems with setting the descriptive label of a series via 'setinfo'. This happens when I use this command inside a function package which returns the resulting series. 1 - This first problem I cannot reproduce with a minimal function example; I'm

[Gretl-devel] Re: Issue with "loop foreach" over vector

2020-04-27 Thread Sven Schreiber
Am 27.04.2020 um 07:40 schrieb Artur Tarassow: Am 22.04.20 um 22:11 schrieb Allin Cottrell: On Wed, 22 Apr 2020, Sven Schreiber wrote: The two characters "id" are treated themselves as a string, because only (a) lists, (b) string arrays, or (c) strings are expected in this context

[Gretl-devel] Re: old and new ideas for the next 'extra' addon version

2020-04-26 Thread Sven Schreiber
Am 25.04.2020 um 21:24 schrieb Cottrell, Allin: On Sat, Apr 25, 2020 at 11:57 AM Sven Schreiber wrote: I agree some convention might be good, to an extent. But we already have a loose de-facto standard that you can see when looking at the list of gretl functions: No CamelCase

[Gretl-devel] Re: old and new ideas for the next 'extra' addon version

2020-04-25 Thread Sven Schreiber
Am 25.04.2020 um 16:04 schrieb Artur Tarassow: Am 25.04.20 um 15:42 schrieb Riccardo (Jack) Lucchetti: On Sat, 25 Apr 2020, Sven Schreiber wrote: Hehe, I think I "incepted" you, see three replies earlier. I don't like the underscore too much though (but it's not a full veto).

[Gretl-devel] Re: old and new ideas for the next 'extra' addon version

2020-04-25 Thread Sven Schreiber
Am 25.04.2020 um 15:12 schrieb Riccardo (Jack) Lucchetti: On Sat, 25 Apr 2020, Sven Schreiber wrote: Am 09.04.2020 um 07:13 schrieb Artur Tarassow: Am 07.04.20 um 23:17 schrieb Sven Schreiber: I agree the name is suboptimal, but maybe we should rather try to describe what it is for: Namely

[Gretl-devel] Re: old and new ideas for the next 'extra' addon version

2020-04-25 Thread Sven Schreiber
Am 09.04.2020 um 07:13 schrieb Artur Tarassow: Am 07.04.20 um 23:17 schrieb Sven Schreiber: Am 07.04.2020 um 21:00 schrieb Artur Tarassow: Am 07.04.20 um 18:41 schrieb Sven Schreiber: 1) drawnormwis(): This function does a random draw from Normal-inverse-Wishart distributions for Bayesian

[Gretl-devel] VECM: make it possible to save $jbeta and $jalpha from the menu

2020-04-24 Thread Sven Schreiber
Hi, prompted by the question on the users list it occurred to me that it should be possible to save the cointegration results from the VECM window, which currently doesn't seem to be enabled. thanks sven ___ Gretl-devel mailing list --

[Gretl-devel] Re: Issue with "loop foreach" over vector

2020-04-22 Thread Sven Schreiber
Am 22.04.2020 um 19:09 schrieb Artur Tarassow: Am 22.04.20 um 14:27 schrieb Allin Cottrell: On Wed, 22 Apr 2020, Allin Cottrell wrote: On Wed, 22 Apr 2020, Sven Schreiber wrote: Am 22.04.2020 um 07:56 schrieb Artur Tarassow: Hi all, I've detected a weird gretl behaviour when trying

[Gretl-devel] Re: Issue with "loop foreach" over vector

2020-04-22 Thread Sven Schreiber
Am 22.04.2020 um 14:27 schrieb Allin Cottrell: To be a little clearer (perhaps), Artur's code translates to the following: matrix id = seq(1,3)' smpl full eval id smpl firm == 1 --restrict printf "\n%.0f -- %d\n", 1, min(firm) and as such the output is correct. Ah, that's what I

[Gretl-devel] Re: Issue with "loop foreach" over vector

2020-04-22 Thread Sven Schreiber
Am 22.04.2020 um 07:56 schrieb Artur Tarassow: Hi all, I've detected a weird gretl behaviour when trying to apply the "foreach" loop type over vector entries. Loop index "i" is printed very round but the printf-command in the loop-block is only shown at the very last iteration for the very

[Gretl-devel] Re: to be marked for translation

2020-04-20 Thread Sven Schreiber
Am 19.04.2020 um 18:43 schrieb Allin Cottrell: On Sun, 19 Apr 2020, Sven Schreiber wrote: So what's the preferred workflow for marking another string for translation? I'd say the first-step change in the C source would be enough, because eventually you (or somebody else) are going to run

[Gretl-devel] Re: exists() vs. inbundle()

2020-04-20 Thread Sven Schreiber
Am 19.04.20 um 17:06 schrieb Allin Cottrell: On Wed, 8 Apr 2020, Sven Schreiber wrote: I know that currently where inbundle(b, "m") returns 0 because m isn't there, exists(b.m) instead yields an error. But I guess that could be changed if wanted. And vice versa: inbundle(a, &

[Gretl-devel] Re: to be marked for translation

2020-04-19 Thread Sven Schreiber
Am 19.04.2020 um 17:57 schrieb Allin Cottrell: On Sun, 19 Apr 2020, Sven Schreiber wrote: Am 19.04.2020 um 16:42 schrieb Allin Cottrell: No, that's wherever you're running configure and make. Right - so that means while translators work with the po files in git, and the underlying C source

[Gretl-devel] Re: to be marked for translation

2020-04-19 Thread Sven Schreiber
Am 19.04.2020 um 16:42 schrieb Allin Cottrell: On Sun, 19 Apr 2020, Sven Schreiber wrote: Am 19.04.2020 um 01:28 schrieb Allin Cottrell: On Sat, 18 Apr 2020, Sven Schreiber wrote: OK thanks. And is anything else needed so that translators get this change in their po files? cd /po &&a

[Gretl-devel] Re: GUI: choose sample via dummy

2020-04-19 Thread Sven Schreiber
Am 19.04.2020 um 15:28 schrieb Allin Cottrell: On Sat, 18 Apr 2020, Sven Schreiber wrote: Am 17.04.20 um 21:47 schrieb Allin Cottrell: I see your point, but my inclination here would be to revise the behavior of "Add observations range dummy". I think this should be exempt from

[Gretl-devel] Re: to be marked for translation

2020-04-19 Thread Sven Schreiber
Am 19.04.2020 um 01:28 schrieb Allin Cottrell: On Sat, 18 Apr 2020, Sven Schreiber wrote: OK thanks. And is anything else needed so that translators get this change in their po files? cd /po && make update-po cd git commit -a git push Hmm, OK thanks. But I'm confused about the

[Gretl-devel] Re: to be marked for translation

2020-04-18 Thread Sven Schreiber
Am 18.04.2020 um 15:16 schrieb Allin Cottrell: On Sat, 18 Apr 2020, Sven Schreiber wrote: Do I understand correctly -to do it myself in the future- that it would have to be replaced with: N_("Imported %s") ? Almost. But the syntax N_() means "mark this string for transl

[Gretl-devel] to be marked for translation

2020-04-18 Thread Sven Schreiber
Hi, I think the string in the following line must still be marked for translation: gui/menustate.c: sprintf(tmp + 1, "Imported %s", basename); Do I understand correctly -to do it myself in the future- that it would have to be replaced with: N_("Imported %s") ? thanks sven

[Gretl-devel] Re: GUI: choose sample via dummy

2020-04-17 Thread Sven Schreiber
Am 17.04.20 um 21:47 schrieb Allin Cottrell: On Fri, 17 Apr 2020, Sven Schreiber wrote: Yes, your example works.  I think I found out the problem: - with bjg.gdt open, in the GUI choose shorter sample - Add/sample range dummy, don't change the setting (equal to active sample), choose name &q

[Gretl-devel] Re: GUI: choose sample via dummy

2020-04-17 Thread Sven Schreiber
Am 17.04.2020 um 13:30 schrieb Riccardo (Jack) Lucchetti: On Fri, 17 Apr 2020, Sven Schreiber wrote: Uhm, is this a trick question? The dialog you get with "Restrict, Based on Criterion" has a radio button that does exactly what you say. That would explain why I had déjà

[Gretl-devel] Re: GUI: choose sample via dummy

2020-04-17 Thread Sven Schreiber
Am 17.04.2020 um 13:05 schrieb Riccardo (Jack) Lucchetti: On Fri, 17 Apr 2020, Sven Schreiber wrote: perhaps we discussed this before: While it is possible in the GUI (menus) to define a dummy indicating the currently active sample, it doesn't seem directly possible to set the sample based

[Gretl-devel] GUI: choose sample via dummy

2020-04-17 Thread Sven Schreiber
Hi, perhaps we discussed this before: While it is possible in the GUI (menus) to define a dummy indicating the currently active sample, it doesn't seem directly possible to set the sample based on such a dummy. I had problems explaining to new users why that is. I know you can go to

[Gretl-devel] Re: OT: quiet loop (Re: Re: x-range for scatters using daily data)

2020-04-10 Thread Sven Schreiber
Am 10.04.2020 um 19:41 schrieb Allin Cottrell: On Fri, 10 Apr 2020, Sven Schreiber wrote: Am 03.03.2020 um 05:47 schrieb Marcin Błażejowski: I think so. IMHO it may need a intensive testing for side effects, as Sven just told. I just checked the changelog which doesn't say anything about

[Gretl-devel] Re: OT: quiet loop (Re: Re: x-range for scatters using daily data)

2020-04-10 Thread Sven Schreiber
Am 03.03.2020 um 05:47 schrieb Marcin Błażejowski: On 02.03.2020 23:24, Allin Cottrell wrote: So far as I'm aware, the --progressive and --verbose "loop" options are orthogonal. But I take your point about unintended consequences. Maybe we should do this in the git/snapshot stage as we're

[Gretl-devel] exists() vs. inbundle()

2020-04-08 Thread Sven Schreiber
Hi, I'm wondering what the value added of 'inbundle' over 'exists' is. In principle both check for the existence of an object and return a type code if yes. I know that currently where inbundle(b, "m") returns 0 because m isn't there, exists(b.m) instead yields an error. But I guess that could

[Gretl-devel] Re: old and new ideas for the next 'extra' addon version

2020-04-07 Thread Sven Schreiber
Am 07.04.2020 um 21:00 schrieb Artur Tarassow: Am 07.04.20 um 18:41 schrieb Sven Schreiber: 1) drawnormwis(): This function does a random draw from Normal-inverse-Wishart distributions for Bayesian stuff and currently exists hidden in the SVAR addon (see https://sourceforge.net/p/gretl/git/ci

[Gretl-devel] old and new ideas for the next 'extra' addon version

2020-04-07 Thread Sven Schreiber
Hi, here are some thoughts about a next round of updating 'extra'. Reminder: "The extra package (a collection of various convenience functions for hansl programming)". It comes as an add-on which means it is automatically shipped with each gretl installation. All items including their names and

[Gretl-devel] Re: Readable aliases true/false

2020-04-07 Thread Sven Schreiber
Am 07.04.2020 um 15:47 schrieb Riccardo (Jack) Lucchetti: On Tue, 7 Apr 2020, Allin Cottrell wrote: On Tue, 7 Apr 2020, Sven Schreiber wrote: Hi, if nobody objects (or has any other feedback) I would eventually go ahead with adding these trivial functions to the extra addon. I'm not averse

[Gretl-devel] Re: Readable aliases true/false

2020-04-07 Thread Sven Schreiber
Am 24.03.2020 um 08:38 schrieb Sven Schreiber: Hi, sorry, here is another one of those free-floating wishlist items: Some complex packages have functions with quite many arguments, among which often some boolean switches. The function calls would be easier to read if one could use some keywords

[Gretl-devel] Re: Windows build 2020a/b

2020-04-01 Thread Sven Schreiber
Am 01.04.2020 um 16:45 schrieb Sven Schreiber: Am 01.04.20 um 16:29 schrieb Allin Cottrell: Try looking at https://stackoverflow.com/questions/28953925/glib-gio-error-no-gsettings-schemas-are-installed-on-the-system Thanks, certainly seems to be spot-on. So I guess one of the installer

[Gretl-devel] Re: Windows build 2020a/b

2020-04-01 Thread Sven Schreiber
Am 01.04.20 um 16:29 schrieb Allin Cottrell: On Wed, 1 Apr 2020, Sven Schreiber wrote: Crash recipe: - click on the fx button to get the function package window - click on the left-most icon (the actual icon is missing / replaced with a generic grey box as noted before) Then it crashes every

[Gretl-devel] Re: Windows build 2020a/b

2020-04-01 Thread Sven Schreiber
Am 31.03.2020 um 00:07 schrieb Sven Schreiber: Am 30.03.2020 um 20:09 schrieb Sven Schreiber: In the upcoming days I'll try to build the installer package. Well, I could let it run already tonight: Basically also successful! (I stuck to GTK3 and so had to do it a tiny bit more manually than

[Gretl-devel] Re: Windows build 2020a/b

2020-03-30 Thread Sven Schreiber
Am 30.03.2020 um 20:09 schrieb Sven Schreiber: In the upcoming days I'll try to build the installer package. Well, I could let it run already tonight: Basically also successful! (I stuck to GTK3 and so had to do it a tiny bit more manually than in the guide, but not much of course.) (Note

[Gretl-devel] Re: Windows build 2020a/b

2020-03-30 Thread Sven Schreiber
Am 30.03.2020 um 18:20 schrieb Allin Cottrell: On Sun, 29 Mar 2020, Sven Schreiber wrote: Am 29.03.2020 um 14:29 schrieb Allin Cottrell: C:/msys64/home/fantomas/src/build/gretl-git/addons/SVAR/SVAR_boot.inp which looks wrong: "build" shouldn't be in there? Yes, it shouldn't b

[Gretl-devel] Re: Windows build 2020a/b

2020-03-29 Thread Sven Schreiber
Am 29.03.2020 um 14:29 schrieb Allin Cottrell: On Sun, 29 Mar 2020, Sven Schreiber wrote: However, then I went back to the GTK3 + addons build attempt, meaning that I edited conf.sh and re-ran that before doing make. There I got an error message which also seemed somewhat familiar from

[Gretl-devel] Re: Windows build 2020a/b

2020-03-28 Thread Sven Schreiber
Am 28.03.2020 um 17:58 schrieb Allin Cottrell: On Sat, 28 Mar 2020, Sven Schreiber wrote: I've had another go at the Makefiles, which might help, but if it still doesn't work I'll need some more information to identify the error. OK, partial success here, don't know whether it is actually

[Gretl-devel] Re: Windows build 2020a/b

2020-03-28 Thread Sven Schreiber
Am 28.03.2020 um 14:37 schrieb ESTEVEZ NUÑEZ JUAN CARLOS: No, Sven. I run the files as is. I had only 2 problems. The first, I think that was a conflict between my Antivirus updates and old msys instalation. So I clean and install, msys64 again. Then I tried the instalation (12 hours ago) but

[Gretl-devel] Re: Windows build 2020a/b

2020-03-28 Thread Sven Schreiber
Am 28.03.2020 um 12:36 schrieb ESTEVEZ NUÑEZ JUAN CARLOS: Dear Allin and Sven, I had problems to Win-build gretl last night (maybe related to some Latex commands) but now it goes fine to me. I´ve just done it, running setup.sh (as is in repository), and making a distributable package (running

[Gretl-devel] Re: Windows build 2020a/b

2020-03-28 Thread Sven Schreiber
Am 28.03.2020 um 02:39 schrieb Allin Cottrell: On Fri, 27 Mar 2020, Sven Schreiber wrote: Sorry, still stuck here: make[4]: Verzeichnis „/home/fantomas/src/build/doc/commands“ wird verlassen LANG=en_US date "+%B, %Y" > date.tex pdflatex gretl-ref.tex make[3]: pdflatex:

[Gretl-devel] Re: Windows build 2020a/b

2020-03-27 Thread Sven Schreiber
Am 27.03.2020 um 18:10 schrieb Allin Cottrell: On Fri, 27 Mar 2020, Sven Schreiber wrote: make -C ../tex gretl-ref.pdf make[3]: Verzeichnis „/home/fantomas/src/build/doc/tex“ wird betreten make[3]: *** Keine Regel vorhanden, um das Ziel „../commands/cmdtex“,  benötigt von „gretl-ref.pdf

[Gretl-devel] Re: Windows build 2020a/b

2020-03-27 Thread Sven Schreiber
Am 27.03.2020 um 01:34 schrieb Allin Cottrell: On Thu, 26 Mar 2020, Sven Schreiber wrote: Yes I think it is gretl-ref.tex, and it's good to hear you have an idea how to fix it. There's now an attempted fix in git -- a revision of doc/tex/Makefile.in. Tested on Linux but not yet on Windows

[Gretl-devel] Re: Windows build 2020a/b

2020-03-26 Thread Sven Schreiber
Am 26.03.20 um 15:07 schrieb Allin Cottrell: On Thu, 26 Mar 2020, Sven Schreiber wrote: Am 26.03.2020 um 10:55 schrieb Sven Schreiber: LANG=en_US ./topiclist ../../../gretl-git/doc/commands/gretl_commands_en.xml > ../tex/cmdtopics.tex && touch topiclist_en Found 10 sections in '../

[Gretl-devel] Re: Windows build 2020a/b

2020-03-26 Thread Sven Schreiber
Am 26.03.2020 um 10:55 schrieb Sven Schreiber: OK, there was a dependency issue so indeed the deps package wasn't installed. I had to remove three other packages manually to clear the way for openblas and curl to be removed. Maybe it would be better to error out in such cases instead

[Gretl-devel] Re: Windows build 2020a/b

2020-03-26 Thread Sven Schreiber
Am 25.03.2020 um 23:01 schrieb Sven Schreiber: Am 25.03.2020 um 21:42 schrieb Allin Cottrell: On Wed, 25 Mar 2020, Sven Schreiber wrote: I re-downloaded setup.sh as per the wget command in the guide and ran: bash setup.sh. Clearly this did not fully work. You're missing (at least part

[Gretl-devel] Re: Windows build 2020a/b

2020-03-25 Thread Sven Schreiber
Am 25.03.2020 um 21:42 schrieb Allin Cottrell: On Wed, 25 Mar 2020, Sven Schreiber wrote: I re-downloaded setup.sh as per the wget command in the guide and ran: bash setup.sh. Clearly this did not fully work. You're missing (at least part) of the content of the the gretl-x86_64-deps

[Gretl-devel] Re: Windows build 2020a/b

2020-03-25 Thread Sven Schreiber
Am 25.03.2020 um 09:54 schrieb Sven Schreiber: Am 20.03.2020 um 10:31 schrieb Sven Schreiber: Now back to the GTK3 issue: Ran make clean again and deleted the --enable-gtk2  line from conf.sh. The make stage is still running (building on MSYS seems quite a bit slower than on Linux). So

[Gretl-devel] Re: Windows build 2020a/b

2020-03-25 Thread Sven Schreiber
Am 20.03.2020 um 10:31 schrieb Sven Schreiber: Hi everybody and especially Allin of course, I just remembered that I had tried again to build gretl (2020a) on Windows last week but still got some errors. I will see if I can re-run that thing and post the details. OK here's what I did. I

[Gretl-devel] Re: release? and funcerr() revisited

2020-03-24 Thread Sven Schreiber
Am 24.03.20 um 13:58 schrieb Allin Cottrell: I accept Artur's point about naming the putative new function, terminate(condition, message) is fine by me. Here are some more variations on this theme, without strong preferences from my side: terminateif() errorif() errif() abortif() abort()

[Gretl-devel] Re: release? and funcerr() revisited

2020-03-24 Thread Sven Schreiber
Am 24.03.2020 um 08:34 schrieb Riccardo (Jack) Lucchetti: 3) overload the ls command with an --odbc option: What's the ls command in gretl? -sven ___ Gretl-devel mailing list -- gretl-devel@gretlml.univpm.it To unsubscribe send an email to

[Gretl-devel] Readable aliases true/false

2020-03-24 Thread Sven Schreiber
Hi, sorry, here is another one of those free-floating wishlist items: Some complex packages have functions with quite many arguments, among which often some boolean switches. The function calls would be easier to read if one could use some keywords for on-off/yes-no/true-false instead of the

[Gretl-devel] Re: release? and funcerr() revisited

2020-03-24 Thread Sven Schreiber
Am 24.03.2020 um 07:15 schrieb Artur Tarassow: Am 24.03.20 um 02:09 schrieb Riccardo (Jack) Lucchetti: On Mon, 23 Mar 2020, Allin Cottrell wrote: I'm thinking that an early 2020b release would be good, to address the macOS Catalina security issue (about which we'll probably hear more). If

[Gretl-devel] Windows build 2020a

2020-03-20 Thread Sven Schreiber
Hi everybody and especially Allin of course, I just remembered that I had tried again to build gretl (2020a) on Windows last week but still got some errors. I will see if I can re-run that thing and post the details. cheers sven ___ Gretl-devel

[Gretl-devel] Re: slight convenience extension to funcerr()

2020-03-18 Thread Sven Schreiber
Am 17.03.2020 um 21:49 schrieb Allin Cottrell: On Mon, 16 Mar 2020, Sven Schreiber wrote: That's exactly what I was thinking, too. OTOH funcerr() was introduced less than 3 months ago (not counting the pre-release phase), so maybe it wouldn't be too bad to break compatibility here? (After

[Gretl-devel] Re: Rdata import

2020-03-17 Thread Sven Schreiber
Am 16.03.2020 um 21:02 schrieb Allin Cottrell: It's not so much a matter of stability or lack thereof, as the polymorphism and opacity of Rdata. That Library of Congress page is useful, but what I read there leads me to believe that an Rdata importer would be a major project. Relevant

[Gretl-devel] Re: slight convenience extension to funcerr()

2020-03-16 Thread Sven Schreiber
Am 16.03.2020 um 22:21 schrieb Allin Cottrell: function-variant of "catch", as in   catch(maybe_bogus_input, "can't do that") meaning: if the antecedent is true, do funcerr with the consequent as error message. Either way it's an overloading and I'm not sure my suggestion is better, but to

[Gretl-devel] Re: function execution in 'if' statement

2020-03-16 Thread Sven Schreiber
Am 16.03.2020 um 21:24 schrieb Artur Tarassow: Hi, this is a point I don't understand and frequently stumble over. Function main() calls checker(). When checker() is called first, it correctly prints the message "Some error message" and correctly returns 1. When checker() is called within the

[Gretl-devel] Rdata import

2020-03-16 Thread Sven Schreiber
Hi, I stumbled again over the situation that gretl offers import support for quite many third-party formats, but not explicitly for .Rdata files. I have rechecked the mailing lists and AFAIU this was due to lack of low-level standardization or unstable format specifications. In practice I have

[Gretl-devel] slight convenience extension to funcerr()

2020-03-15 Thread Sven Schreiber
Hi, often in user-defined functions we have a bunch of error checks like this: if maybe_bogus_input funcerr("cannot do that") endif What about adding the if condition to the funcerr() function as a scalar second argument? So the above would become: funcerr("can't do that",

[Gretl-devel] Re: stack() within a loop-block

2020-03-11 Thread Sven Schreiber
Am 11.03.2020 um 06:36 schrieb Artur Tarassow: Hi, in an application I need to loop over various article data sets and to use the stack() function. However, currently stack() cannot be used within a loop. Alternative I was trying to use the command which is, however, explicitly not usebale

[Gretl-devel] ARCH test option for VARs

2020-03-10 Thread Sven Schreiber
Hi, I stumbled over the situation of ARCH diagnostic testing in VARs and found the old thread from 2017 "multivariate ARCH test for VARs". (See below for a snippet.) It talks about a "univariate" option which isn't documented in current gretl 2020a. Is this a secret or has it never been

[Gretl-devel] Re: strvals() while dataset is restricted

2020-03-10 Thread Sven Schreiber
Am 01.03.2020 um 15:54 schrieb Artur Tarassow: Am 01.03.20 um 07:43 schrieb Sven Schreiber: OK, I'm noting that 'stringify' indeed also always seems to work on the entire series. Besides, 'firstobs' and 'lastobs' have an explicit switch for that. But I still think it's surprising, given

[Gretl-devel] ternary statement with non-existing bundles

2020-03-09 Thread Sven Schreiber
Hi, here's a glitch with current git: eval (1 == 1 ? "hey" : nonexisting) # works eval (exists(nonexisting) ? nonexisting : "hey") # works # bundle style eval (exists(nobundle) ? nobundle.whatever : "ouf") # fails (nobundle: no such object) thanks sven

[Gretl-devel] Re: continue statement for flow control

2020-03-08 Thread Sven Schreiber
Am 08.03.2020 um 20:18 schrieb Artur Tarassow: changed early in the loop. Let me come up with a constructed example -- I hope it shows my point for the usefulness of such a statement: I would agree that in some ways the hansl syntax is less flexible than that of other programming languages.

[Gretl-devel] Re: test windows build

2020-03-04 Thread Sven Schreiber
Am 04.03.2020 um 02:29 schrieb Allin Cottrell: On Tue, 3 Mar 2020, Sven Schreiber wrote: ... \src\build\addons\SVAR\./../../gretl-git/addons/SVAR\../../../gretl-git/addons/SVAR/SVAR_boot.inp Windows says: Das System kann die angegebene Datei nicht finden. (= cannot find the given file

[Gretl-devel] Re: test windows build

2020-03-03 Thread Sven Schreiber
Am 03.03.2020 um 11:38 schrieb Sven Schreiber: Hi Allin, if you can hold off the release for one more day I could probably test the current situation of the windows build again, starting from a clean environment. I know the relevant updates occurred with 2019d and not so much with 2020a, but I

[Gretl-devel] test windows build

2020-03-03 Thread Sven Schreiber
Hi Allin, if you can hold off the release for one more day I could probably test the current situation of the windows build again, starting from a clean environment. I know the relevant updates occurred with 2019d and not so much with 2020a, but I never properly re-checked whether we have reached

[Gretl-devel] Re: OT: quiet loop (Re: Re: x-range for scatters using daily data)

2020-03-02 Thread Sven Schreiber
Am 02.03.2020 um 22:00 schrieb Riccardo (Jack) Lucchetti: On Mon, 2 Mar 2020, Allin Cottrell wrote: Should we just go ahead and do this for the forthcoming release? I'd say let's I'm always a bit worried about unintended side effects. For example, what about special non-standard cases

[Gretl-devel] OT: quiet loop (Re: Re: x-range for scatters using daily data)

2020-03-02 Thread Sven Schreiber
Am 02.03.2020 um 10:06 schrieb Riccardo (Jack) Lucchetti: loop i = 1 .. ntics --quiet I absolutely don't want to hijack this thread, but we write loop ... --quiet so often that I wonder whether the equivalent of 'setopt loop persist --quiet' shouldn't be promoted to a user-settable option in

[Gretl-devel] Re: strvals() while dataset is restricted

2020-02-29 Thread Sven Schreiber
Am 01.03.2020 um 02:10 schrieb Allin Cottrell: On Sat, 29 Feb 2020, Riccardo (Jack) Lucchetti wrote: On Sat, 29 Feb 2020, Artur Tarassow wrote: I would say that's intended, since the "strvals" are a property of the data series, irrespective of the current sample selection. I agree with

[Gretl-devel] Re: strvals() while dataset is restricted

2020-02-29 Thread Sven Schreiber
Am 29.02.2020 um 14:19 schrieb Riccardo (Jack) Lucchetti: On Sat, 29 Feb 2020, Artur Tarassow wrote: I am bit puzzled about the following behaviour. Even though, the sample is restricted to "t>3" obs. only, the strvals() function returns the distinct string-values of series x of the full data

[Gretl-devel] Re: ODBC connector

2020-02-29 Thread Sven Schreiber
Am 28.02.2020 um 22:06 schrieb Allin Cottrell: On Fri, 28 Feb 2020, Sven Schreiber wrote: release. You guys are running git versions all the time anyway, so what does a release mean to you? the "somebody" in question, it's meaningful to me even though I personally am running c

[Gretl-devel] Re: ODBC connector

2020-02-28 Thread Sven Schreiber
Am 28.02.2020 um 16:10 schrieb Artur Tarassow: Am 28.02.20 um 15:56 schrieb Riccardo (Jack) Lucchetti: While we're on the subject: I need to pull a string-valued series from an ODBC source, which is not possible at present (if I'm not mistaken). Shall we leave this for after release? As you

[Gretl-devel] release?

2020-02-24 Thread Sven Schreiber
Hi, I'd like to raise the issue of a possible new release. The background is the time series menu problem introduced in 2019d. (I'm not going to say breakage because that would be too strong.) I know this does not affect many contributed packages, but for GUI-centric usage it is still a bit of a

[Gretl-devel] Re: ODBC connector

2020-02-19 Thread Sven Schreiber
Am 19.02.2020 um 10:19 schrieb atecon: 1) I want to write a open_odbc_connection() function. Unfortunately, the 'open' command cannot be executed within a function. For its standard application loading a data set I fully understand the reason. However, for just opening a ODBC connection by the

[Gretl-devel] Re: addons directory on sourceforge

2020-02-13 Thread Sven Schreiber
Am 13.02.2020 um 14:18 schrieb Allin Cottrell: On Thu, 13 Feb 2020, Sven Schreiber wrote: Yes. And it's also the arena from which the current versions of addons are downloaded (via the "Check for addons" dialog). OK thanks. This reminds me of something I need to look into: do we

[Gretl-devel] addons directory on sourceforge

2020-02-13 Thread Sven Schreiber
Hi, I'm wondering why this area exists: https://sourceforge.net/projects/gretl/files/addons/ Is it supposed to collect compatible versions of addons for outdated gretl versions? thanks sven ___ Gretl-devel mailing list -- gretl-devel@gretlml.univpm.it

[Gretl-devel] dead link

2020-02-07 Thread Sven Schreiber
Hi, the following link on the win32 part of the homepage is dead: "GTK for Windows" http://www.gtk.org/download/win32.php Apparently this is the replacement: https://www.gtk.org/download/windows.php cheers sven ___ Gretl-devel mailing list --

[Gretl-devel] Re: SVD issues

2020-02-07 Thread Sven Schreiber
Am 06.02.2020 um 22:09 schrieb Allin Cottrell: The business with VAR standard errors was due to a crucial difference between the "old" lapack SVD solver, dgelss(), and the "new", faster dgelsd (divide-and-conquer variant) that I failed to notice at first. That is, dgelss leaves the right-hand

[Gretl-devel] Re: issue with conditional assignment

2020-02-07 Thread Sven Schreiber
Am 06.02.2020 um 20:19 schrieb Allin Cottrell: On Thu, 6 Feb 2020, Sven Schreiber wrote: Am 06.02.2020 um 12:35 schrieb Riccardo (Jack) Lucchetti: string sep = $windows ? "\" : "/" gives an error, because the backslash is considered an escaping character. This

[Gretl-devel] Re: issue with conditional assignment

2020-02-06 Thread Sven Schreiber
Am 06.02.2020 um 12:35 schrieb Riccardo (Jack) Lucchetti: works ok, but the conditional assignment statement string sep = $windows ? "\" : "/" gives an error, because the backslash is considered an escaping character. This breaks the xy_color packages (and possibly some more). The thread

[Gretl-devel] Re: mols() and multithreading

2020-01-31 Thread Sven Schreiber
Am 31.01.2020 um 11:25 schrieb Marcin Błażejowski: On 31.01.2020 10:54, Sven Schreiber wrote: On another Linux machine I now also have the libopenblas0-openmp package from Debian bullseye (=testing, I believe) which should be 0.3.7. And today's gretl git. I'm not getting blas_parallel

[Gretl-devel] Re: mols() and multithreading

2020-01-31 Thread Sven Schreiber
Am 24.01.2020 um 14:32 schrieb Marcin Błażejowski: On 24.01.2020 14:28, Allin Cottrell wrote: On Fri, 24 Jan 2020, Marcin Błażejowski wrote: On 23.01.2020 22:31, Allin Cottrell wrote: Please try with current git and see what blas variant gretl detects. And now I have: bundle anonymous:  

[Gretl-devel] GUI capabilities of contributed packages

2020-01-29 Thread Sven Schreiber
Hi, for some function packages (or addons, like SVAR) it would be useful if more than one function could be integrated more tightly for GUI usage. Here's a concrete suggestion that perhaps wouldn't be so difficult to implement. I'm thinking about an analogue of the current bundle-plot apparatus:

[Gretl-devel] Re: mols() and multithreading

2020-01-28 Thread Sven Schreiber
Am 28.01.2020 um 10:53 schrieb Marcin Błażejowski: On 28.01.2020 09:18, Sven Schreiber wrote: But openblas alone doesn't explain the equality of the 4-thread and the single-thread outcome, at least comparing to the Windows results. Or did you compile openblas yourself? (Perhaps with a different

[Gretl-devel] Re: mols() and multithreading

2020-01-28 Thread Sven Schreiber
Am 28.01.2020 um 09:27 schrieb Marcin Błażejowski: On 28.01.2020 09:18, Sven Schreiber wrote: But openblas alone doesn't explain the equality of the 4-thread and the single-thread outcome, at least comparing to the Windows results. Or did you compile openblas yourself? (Perhaps with a different

<    4   5   6   7   8   9   10   11   12   13   >