[Gretl-devel] Re: why does this matrix/series mishmash work?

2024-05-24 Thread Cottrell, Allin
On Fri, May 24, 2024 at 12:39 PM Allin Cottrell wrote: > > On Fri, 24 May 2024, Sven Schreiber wrote: > > > I've come across a strange piece of code which goes more or less like this: > > > > > > open denmark > > matrix M = zeros($nobs,2) > > series M[1,] = ones(1,2) > > print M > > > > > >

[Gretl-devel] Re: stricter options syntax for "plot" in 2024a?

2024-05-09 Thread Cottrell, Allin
On Thu, May 9, 2024 at 6:08 AM Sven Schreiber wrote: > > Am 09.05.2024 um 11:34 schrieb Artur T.: > > Am 09.05.24 um 02:20 schrieb Cottrell, Allin: > >> Thanks, Helio. What you reference via the link below is my "personal" > >> collection of test scripts (

[Gretl-devel] Re: stricter options syntax for "plot" in 2024a?

2024-05-08 Thread Cottrell, Allin
he "acceptance" test I got from Allin, some years ago: > https://github.com/HelioGuilherme66/gretl/tree/gretl-tests/gretl-tests/test-gretl > > On Wed, May 8, 2024 at 11:25 PM Sven Schreiber > wrote: >> >> Am 08.05.2024 um 23:08 schrieb Cottrell, Allin: &

[Gretl-devel] Re: stricter options syntax for "plot" in 2024a?

2024-05-08 Thread Cottrell, Allin
On Wed, May 8, 2024 at 3:58 PM Sven Schreiber wrote: > > Am 08.05.2024 um 19:49 schrieb Cottrell, Allin: > > On Wed, May 8, 2024 at 11:32 AM Sven Schreiber > > wrote: > >> I'm puzzled by the fact that the sample script of the LocalProjection > >> package prod

[Gretl-devel] Re: stricter options syntax for "plot" in 2024a?

2024-05-08 Thread Cottrell, Allin
On Wed, May 8, 2024 at 11:32 AM Sven Schreiber wrote: > > I'm puzzled by the fact that the sample script of the LocalProjection > package produces an error "invalid option --time-series". And indeed > that option is appended to a "plot" command, which is not supported as > per the doc. > >

[Gretl-devel] Re: Pasting a line in the console with a line break at the end

2024-05-03 Thread Cottrell, Allin
On Fri, May 3, 2024 at 9:28 AM Sven Schreiber wrote: > > Am 03.05.2024 um 14:18 schrieb Cottrell, Allin: > > On Fri, May 3, 2024 at 7:40 AM Sven Schreiber > wrote: > > Hi, > > when pasting any kind of content into gretl's console, but with a line > break at th

[Gretl-devel] Re: Pasting a line in the console with a line break at the end

2024-05-03 Thread Cottrell, Allin
On Fri, May 3, 2024 at 7:40 AM Sven Schreiber wrote: > > Hi, > > when pasting any kind of content into gretl's console, but with a line > break at the end, and then hitting return, gretl just ignores it and > presents a new prompt sign ("?"). > > This is of course no big deal, but for consistency

[Gretl-devel] Re: problem building function packages with superfluous spaces in spec file

2024-04-16 Thread Cottrell, Allin
On Tue, Apr 16, 2024 at 2:44 PM Sven Schreiber wrote: > > Am 16.04.2024 um 20:40 schrieb Cottrell, Allin: > > On Sat, Apr 6, 2024 at 5:27 PM Sven Schreiber > wrote: > > could it be that gretl chokes a little when in the .spec file of a > function package the public

[Gretl-devel] Re: problem building function packages with superfluous spaces in spec file

2024-04-16 Thread Cottrell, Allin
On Sat, Apr 6, 2024 at 5:27 PM Sven Schreiber wrote: > > Hi, > > could it be that gretl chokes a little when in the .spec file of a > function package the public functions are separated by more than one space? > > Working on the SVEC_GUI package, I see there was (has been forever?) a > double

[Gretl-devel] gretl 2024a released

2024-04-05 Thread Cottrell, Allin
See https://gretl.sourceforge.net/ChangeLog.html Note that as of this release building the gretl addons is by default part of the gretl build. If you need to avoid that you can pass --disable-build_addons to the configure script, and you can find a package containing pre-built addons

[Gretl-devel] Re: Dead link in gretl dependencies

2024-04-01 Thread Cottrell, Allin
On Mon, Apr 1, 2024 at 3:56 PM Federico Fiorani wrote: > > Hi everyone, > please note that the "readline" link here > https://gretl.sourceforge.net/depend.html > is dead Thanks, Federico, that's now updated. Allin Cottrell ___ Gretl-devel mailing list

[Gretl-devel] gretl 2024a coming up

2024-04-01 Thread Cottrell, Allin
This is just a heads-up for translators of gretl. We plan to release version 2024a before long, and I've just pushed an update to gretl.pot with a few new translatable strings. So updates of translations would be welcome. Allin ___ Gretl-devel mailing

[Gretl-devel] Re: typename() with non-existent input

2024-02-18 Thread Cottrell, Allin
On Sat, Feb 17, 2024 at 8:18 PM Cottrell, Allin wrote: > > On Sat, Feb 17, 2024 at 5:48 PM Sven Schreiber > wrote: > > > > Hello, > > > > the help text for the (relatively recent) typename() function says: "If > > the argument does not id

[Gretl-devel] Re: typename() with non-existent input

2024-02-17 Thread Cottrell, Allin
On Sat, Feb 17, 2024 at 5:48 PM Sven Schreiber wrote: > > Hello, > > the help text for the (relatively recent) typename() function says: "If > the argument does not identify an object the string null is returned." - > But I'm actually getting an error instead of a string output, like with > all

[Gretl-devel] Re: modeltab --output within function

2024-02-16 Thread Cottrell, Allin
On Fri, Feb 16, 2024 at 4:24 AM Artur T. wrote: > > Hi all, > > I am trying to store a model table through the modeltab command. I am > calling the command _within_ a function. However, even though the model > objects seem to get stored, the table will not be written to a file > (either tex or

[Gretl-devel] Re: 'hausman' a reserved word?

2024-02-11 Thread Cottrell, Allin
On Sat, Feb 10, 2024 at 3:19 PM Sven Schreiber wrote: > > I've stumbled over the issue that I cannot copy the Hausman test results > into a matrix called 'hausman'. "hausman" is still, for reasons of backward compatibility, an alias for the command that was renamed as "panspec" as of gretl

[Gretl-devel] Re: usage of the term "variable" in messages (was: Re: Re: "local" series not deleteable)

2024-02-08 Thread Cottrell, Allin
On Thu, Feb 8, 2024 at 3:33 PM Sven Schreiber wrote: > > Am 07.02.2024 um 18:26 schrieb Sven Schreiber: > > Am 07.02.2024 um 17:45 schrieb Allin Cottrell: > > The error message is actually "You cannot delete series in this context". > Deleting series is always something to be wary of, since it

[Gretl-devel] Re: 'workspace' in the main git tree?

2024-02-08 Thread Cottrell, Allin
On Thu, Feb 8, 2024 at 11:35 AM Sven Schreiber wrote: > > I see that now there's an (empty) dir named "workspace" in the gretl git > source tree. Is this fallout from moving the unit tests into the tree, > or is it intended? I've just removed that directory. It was to do with defining workspace

[Gretl-devel] Re: bcheck() with empty optional input

2024-01-29 Thread Cottrell, Allin
On Sun, Jan 28, 2024 at 8:17 AM Sven Schreiber wrote: > > Hi function writers, > > there's a slight problem with the bcheck() function, see this example: > > > > function void bcheckcheck (bundle b[null]) > bundle targ = _() > eval bcheck(, b) # error: 2nd arg is empty > end function >

[Gretl-devel] Re: $jvbeta with restrictions

2024-01-28 Thread Cottrell, Allin
On Sat, Jan 27, 2024 at 6:44 PM Sven Schreiber wrote: > > this is about VECM details at the scripting level. Consider the example > at the bottom of this message. Typically $jvbeta (or equivalently > $system.vecm_info.Bvar) has as many rows/cols as the number of free > long-run parameters.

[Gretl-devel] Re: corrgm, pergm, qlrtest, xcorrgm, and --outbuf

2024-01-25 Thread Cottrell, Allin
On Wed, Dec 20, 2023 at 4:28 PM Sven Schreiber wrote: > > this is in the batch mode context, executing a hansl script. > > A problem with 'corrgm' is that it only produces a real plot (not a > textplot) when the --plot=display option is given; but this is > incompatible with the --outbuf option.

[Gretl-devel] Re: Right of mat2list() to overwrite series values

2024-01-19 Thread Cottrell, Allin
On Thu, Jan 11, 2024 at 3:22 AM Artur T. wrote: > > I am not sure whether the following is actually intended or not. The > help does not mention any limits, though. > > For a project, I stumbled over the following: > > 1. Create a matrix of residuals with NAs as initial values. > 2. Name the

[Gretl-devel] Re: Since when (gretl version) is pass-through of null arguments supported?

2024-01-15 Thread Cottrell, Allin
On Sun, Jan 14, 2024 at 3:22 AM Sven Schreiber wrote: > > Hi function writing experts, > > in the context of writing (or moderating) function packages I'm > wondering when exactly has it become possible to pass through a null > argument to a called sub-function? > > Here's what I mean (adapted

[Gretl-devel] Re: For-loop over a 'bundled' string array

2023-12-21 Thread Cottrell, Allin
On Wed, Dec 20, 2023 at 3:41 AM Artur T. wrote: > > Hi all, > > Let's say we have a string array 'input'. The first example shows that > the for-loop can be used for printing each element of the array. > > However, as the 2nd example shows, if the string array is stored in > bundle B this does

[Gretl-devel] Re: question about plotting input from string buffers

2023-12-17 Thread Cottrell, Allin
On Sat, Dec 16, 2023 at 7:11 PM Sven Schreiber wrote: > > Am 17.12.2023 um 01:01 schrieb Cottrell, Allin: > > On Sat, Dec 16, 2023 at 6:40 PM Sven Schreiber > > wrote: > >> > >> open denmark > >> string s > >> gnuplot LRM --time-series --

[Gretl-devel] Re: question about plotting input from string buffers

2023-12-16 Thread Cottrell, Allin
On Sat, Dec 16, 2023 at 6:40 PM Sven Schreiber wrote: > > not sure whether the observed behavior (with gretl 2023c) with the > following script is expected: > > > open denmark > string s > gnuplot LRM --time-series --outbuf=s { set title 'My Title';} # works > gnuplot --inbuf=s --output=display

[Gretl-devel] Re: has_string_table for copied series

2023-12-14 Thread Cottrell, Allin
On Thu, Dec 14, 2023 at 10:32 AM Artur T. wrote: > > I stumbled over the following: > > > open mrw --quiet > series factor = OECD + 1 # one-based > strings svalues = defarray("non-oecd", "oecd") > stringify(factor, svalues) > series z = factor # just a copy > > eval getinfo(factor) #

[Gretl-devel] Re: latest snapshot release candidate?

2023-11-26 Thread Cottrell, Allin
On Sun, Nov 26, 2023 at 3:41 PM Sven Schreiber wrote: > > Am 26.11.2023 um 21:13 schrieb Sven Schreiber: > > Hi Allin, > > > > I see there's a recent snapshot from Nov 24th. Is that supposed to be > > the latest snapshot before the next release, i.e. a kind of release > > candidate? Yes, >

[Gretl-devel] Re: Card & Krueger 1994

2023-11-21 Thread Cottrell, Allin
I commented on Jack's Card and Krueger dataset for gretl: > And also a non-trivial piece of work, I see. With the original data > taking the form of an old-school fixed-format file plus codebook, and > an erroneous "unique ID" to be spotted and fixed. Kudos. Follow-up: The original C numerical

[Gretl-devel] Re: Card & Krueger 1994

2023-11-20 Thread Cottrell, Allin
On Mon, Nov 20, 2023 at 7:56 PM Cottrell, Allin wrote: > > On Mon, Nov 20, 2023 at 10:13 AM Riccardo (Jack) Lucchetti > wrote: > > > > I set up a gdt file with dataset used in the famous "NJ-vs-Pennsylvania" > > article by Card & Krueger on the minimu

[Gretl-devel] Re: Card & Krueger 1994

2023-11-20 Thread Cottrell, Allin
On Mon, Nov 20, 2023 at 10:13 AM Riccardo (Jack) Lucchetti wrote: > > I set up a gdt file with dataset used in the famous "NJ-vs-Pennsylvania" > article by Card & Krueger on the minimum wage. > > Since I figure this could be useful to everyone teaching (and learning) > causal effects,

[Gretl-devel] Re: order of string-value codes

2023-11-14 Thread Cottrell, Allin
On Tue, Nov 14, 2023 at 11:48 AM Riccardo (Jack) Lucchetti wrote: > > On 14/11/2023 16:24, Allin Cottrell wrote: > > This is somewhat related to recent discussion of "Binary Logit with > > string series". > > > > As you may know, when gretl reads string-valued series from (e.g.) a CSV > > file,

[Gretl-devel] Re: order of string-value codes

2023-11-14 Thread Cottrell, Allin
On Tue, Nov 14, 2023 at 10:24 AM I wrote: [...] > Anyway, here's a hansl prototype for such a function. [...] Ah, I see that mailman discards leading whitespace in plain text messages. You can see a properly formatted version of my post at

[Gretl-devel] Re: Binary Logit with string series

2023-11-14 Thread Cottrell, Allin
On Tue, Nov 14, 2023 at 5:46 AM Riccardo (Jack) Lucchetti wrote: > > On 14/11/2023 08:55, Riccardo (Jack) Lucchetti wrote: > > > This is very nice, thanks, Allin! I guess that by the same logic we > > could enable printing the value labels when we apply multinomial logit > > to a string-valued

[Gretl-devel] Re: X13 and Tramo-Seats running problems

2023-11-08 Thread Cottrell, Allin
Thanks for the report, Francesca. I tested on Windows 11 today, and both x13as and tramo/seats were working OK for me. However, I see something that could be a problem. The DLLs required by those extra programs (namely, libgfortran-5.dll and libgcc_s_seh-1.dll) are supplied in the gretl

[Gretl-devel] Re: clustered standard errors, 'period' keyword, driscoll_kraay

2023-11-02 Thread Cottrell, Allin
On Thu, Nov 2, 2023 at 9:38 AM Sven Schreiber wrote: > > Am 02.11.2023 um 14:26 schrieb Sven Schreiber: > > Ahhh OK, now I understand. > > Sorry, one more stupid question: The new cluster option is not accessible in > the GUI, right? Right, not yet. SCC is accessible though. Allin

[Gretl-devel] Re: clustered standard errors, 'period' keyword, driscoll_kraay

2023-11-02 Thread Cottrell, Allin
On Thu, Nov 2, 2023 at 9:03 AM Sven Schreiber wrote: > > Am 02.11.2023 um 13:51 schrieb Allin Cottrell: > > On Thu, 2 Nov 2023, Sven Schreiber wrote: > > > >> in short: --cluster=period works as announced, but with two-way > >> clustering --cluster=period,unit doesn't work, one has to create a >

[Gretl-devel] Re: regls internal error

2023-10-23 Thread Cottrell, Allin
On Mon, Oct 23, 2023 at 2:39 PM Sven Schreiber wrote: > > Hi, > > this is what I got when I tried to run a totally non-serious arbitrary > specification with regls, where (as it turned out) many (all?) variables > had lots of missings or even only a single valid value: > > unbestimmte

[Gretl-devel] Re: command log and regls

2023-10-23 Thread Cottrell, Allin
On Mon, Oct 23, 2023 at 12:10 PM Sven Schreiber wrote: > > Hi all, it seems that a regls (Lasso & co.) estimate that is performed > through the GUI does not show up in the command log. I can understand > the internal technical reasons for that, but I wonder if that's the > unavoidable state of

[Gretl-devel] Re: doc for bin2dec and dec2bin

2023-09-14 Thread Cottrell, Allin
On Thu, Sep 14, 2023 at 10:10 AM Riccardo (Jack) Lucchetti wrote: > > On 14/09/2023 14:16, Cottrell, Allin wrote: [...] > > I notice that Matlab's dec2bin employs a string composed of '0's and > > '1's to represent a binary number. Maybe we want to do that too? In > > its

[Gretl-devel] Re: doc for bin2dec and dec2bin

2023-09-14 Thread Cottrell, Allin
On Wed, Sep 13, 2023 at 8:11 AM Riccardo (Jack) Lucchetti wrote: > > On 13/09/2023 14:02, Cottrell, Allin wrote: > > On Wed, Sep 13, 2023 at 7:07 AM Riccardo (Jack) Lucchetti > > wrote: > >> > >> I just realised that two functions that we added in February 2

[Gretl-devel] Re: doc for bin2dec and dec2bin

2023-09-13 Thread Cottrell, Allin
On Wed, Sep 13, 2023 at 7:07 AM Riccardo (Jack) Lucchetti wrote: > > Folks, > > I just realised that two functions that we added in February 2022 > (namely bin2dec and dec2bin) were never documented, although they'd been > available since 2022b. > > I wrote some documentation (comments are

[Gretl-devel] Re: MPI strange warning

2023-09-12 Thread Cottrell, Allin
On Sun, Sep 10, 2023 at 9:15 AM Marcin Błażejowski wrote: > > On 10.09.2023 15:08, Cottrell, Allin wrote: > > On Sun, Sep 10, 2023 at 9:01 AM Marcin Błażejowski > > wrote: > >> I noticed that whenever I call gretlmpi in shell [via '(mpiexec) > >> gretlmpi' o

[Gretl-devel] Re: MPI strange warning

2023-09-10 Thread Cottrell, Allin
On Sun, Sep 10, 2023 at 9:01 AM Marcin Błażejowski wrote: > > I noticed that whenever I call gretlmpi in shell [via '(mpiexec) > gretlmpi' or 'gretlcli -b some_mpi_code.inp'] I get several lines of > "Authorization required, but no authorization protocol specified", which > is not gretl related.

[Gretl-devel] building gretl on Windows

2023-08-03 Thread Cottrell, Allin
Earlier this summer Sven and I noticed that the documentation and scripts we made available for building gretl on Windows, starting in 2017, has been subject to significant bit-rot. Not too surprising since software tends to move along quite fast. Anyway, anyone who's interested can now find

[Gretl-devel] Re: function call within loop fails

2023-07-26 Thread Cottrell, Allin
On Wed, Jul 26, 2023 at 9:00 AM Artur T. wrote: > > Hi folks, > > using latest git under Ubuntu yields a weird error with a loop. The > following definitely used to work in the past but fails now with an > "Data error". Thanks for the report, Artur. Here's a minimal script to expose the bug you

[Gretl-devel] Re: MPI (Re: [Gretl-users] Re: gretl 2023b released)

2023-07-25 Thread Cottrell, Allin
On Tue, Jul 25, 2023 at 6:24 AM Sven Schreiber wrote: > > Am 25.07.2023 um 01:09 schrieb Cottrell, Allin: > > On Mon, Jul 24, 2023 at 4:34 PM Sven Schreiber > > wrote: > >> [moving this to gretl-devel] > >> > >> Am 21.07.2023 um 20:49 schrieb Cottr

[Gretl-devel] Re: MPI (Re: [Gretl-users] Re: gretl 2023b released)

2023-07-24 Thread Cottrell, Allin
On Mon, Jul 24, 2023 at 4:34 PM Sven Schreiber wrote: > > [moving this to gretl-devel] > > Am 21.07.2023 um 20:49 schrieb Cottrell, Allin: > > Ah, no, you still have to install MS-MPI (the DLLs and executables). > > What I updated was the support files involved in the

[Gretl-devel] Re: strange (buggy) if-result with NA

2023-07-19 Thread Cottrell, Allin
On Wed, Jul 19, 2023 at 9:37 AM Sven Schreiber wrote: > > this is with a July-3rd snapshot, and what strikes me as quite strange > behavior: > > > nulldata 20 > series check = 0 > check[1] = NA > check[10] = 1 > > loop tau = 1..$nobs > eval check[tau]# first with NA as expected >

[Gretl-devel] Re: strange (buggy) if-result with NA

2023-07-19 Thread Cottrell, Allin
On Wed, Jul 19, 2023 at 9:37 AM Sven Schreiber wrote: > > this is with a July-3rd snapshot, and what strikes me as quite strange > behavior: > > > > nulldata 20 > series check = 0 > check[1] = NA > check[10] = 1 > > loop tau = 1..$nobs > eval check[tau]# first with NA as expected >

[Gretl-devel] Re: search anomalies in a script window on Windows

2023-07-16 Thread Cottrell, Allin
On Sat, Jul 15, 2023 at 9:50 AM Sven Schreiber wrote: > > I have a concrete example about how repeated searching in a script > window shows strange behavior at least on Windows (perhaps because of > GTK2?). > > Let's consider the code view of the ParMA package in the GUI program. > This has 2095

[Gretl-devel] Re: panel restriction trouble

2023-07-15 Thread Cottrell, Allin
On Sat, Jul 15, 2023 at 4:20 PM Cottrell, Allin wrote: > > On Sat, Jul 15, 2023 at 2:53 PM Sven Schreiber > wrote: > > > > Hello panel devotees, > > > > I believe I'm seeing a bug in cumulated sample restrictions in the panel > > context [...] > >

[Gretl-devel] Re: panel restriction trouble

2023-07-15 Thread Cottrell, Allin
On Sat, Jul 15, 2023 at 2:53 PM Sven Schreiber wrote: > > Hello panel devotees, > > I believe I'm seeing a bug in cumulated sample restrictions in the panel > context [...] Here's a minimal example of what you describe: nulldata 32 # panel: T = 8, N = 4 setobs 8 1:1 --stacked-time-series genr

[Gretl-devel] Re: problem with large gdtb panel datafile and index variables

2023-07-14 Thread Cottrell, Allin
On Fri, Jul 14, 2023 at 8:59 AM Sven Schreiber wrote: > > I'm seeing a problem handling a fairly large panel dataset in the GUI. > It started with a ~200MB binary gdtb file that was a recognized panel, > with index variables "iso" (time, iso dates) and "STATIONS_ID". > > This had lots of unneeded

[Gretl-devel] Re: strange error window after Enter on the console

2023-07-14 Thread Cottrell, Allin
On Fri, Jul 14, 2023 at 7:16 AM Sven Schreiber wrote: > > I'm attaching an error window screenshot I'm getting with the July 3rd > snapshot on Win11. This happens when hitting Enter (Return) on the > (swallowed) console without any other input character. I could see that on Linux too. It's now

[Gretl-devel] Re: gretl 2023b coming up

2023-07-12 Thread Cottrell, Allin
On Tue, Jul 11, 2023 at 12:09 PM Sven Schreiber wrote: > > Under Help/Look for addons, I think the window is listing the available > addon versions from the server. The background was that people on older > gretl versions might be interested to update an addon without moving to > a newer gretl

[Gretl-devel] Re: PRE-RELEASE: Testscripts fail

2023-07-12 Thread Cottrell, Allin
On Wed, Jul 12, 2023 at 2:39 AM Artur T. wrote: > > Hi, > > Given Allin's announcement that a new version will be released soon, I > ran the test scripts. > > 1. For the following script the assertion failed on the latest git-version: > >

[Gretl-devel] Re: PRE-RELEASE: Testscripts fail

2023-07-12 Thread Cottrell, Allin
On Wed, Jul 12, 2023 at 2:53 AM Riccardo (Jack) Lucchetti wrote: > > On Wed, 12 Jul 2023, Artur T. wrote: > > > Hi, > > > > Given Allin's announcement that a new version will be released soon, I ran > > the test scripts. > > > > 1. For the following script the assertion failed on the latest

[Gretl-devel] Re: more stuff in .gitignore ?

2023-07-11 Thread Cottrell, Allin
On Tue, Jul 11, 2023 at 11:01 AM Sven Schreiber wrote: > > Am 11.07.2023 um 14:17 schrieb Cottrell, Allin: > > On Tue, Jul 11, 2023 at 8:11 AM Sven Schreiber > > wrote: > >> in my copies/clones of the git repo I'm getting a lot of untracked files > >> whi

[Gretl-devel] gretl 2023b coming up

2023-07-11 Thread Cottrell, Allin
My current plan is to release gretl 2023b a week from today (July 18). So this would be a good time to update translations. Also if people have sets of test scripts it would be a good time to run them and report any problems. Allin Cottrell ___

[Gretl-devel] Re: more stuff in .gitignore ?

2023-07-11 Thread Cottrell, Allin
On Tue, Jul 11, 2023 at 8:11 AM Sven Schreiber wrote: > > in my copies/clones of the git repo I'm getting a lot of untracked files > which sometimes is a bit annoying. Some of them may have to do with > un-recommended builds in the source tree, but others are perhaps more > pervasive. I'm not too

[Gretl-devel] Re: the "redhat" dir in the source tree

2023-07-10 Thread Cottrell, Allin
Thanks, Hélio. I was about to say that the redhat directory and its content seem harmless, and might even be of use to somebody. I've fixed the typo that Sven noted, and also updated the GTK2 requirement, in redhat/gretl.spec.in. Allin On Mon, Jul 10, 2023 at 3:32 PM Hélio Guilherme wrote: >

[Gretl-devel] Re: gretl crash with omitted arg in hansl function

2023-07-10 Thread Cottrell, Allin
On Mon, Jul 10, 2023 at 2:53 PM Cottrell, Allin wrote: > > On Mon, Jul 10, 2023 at 1:18 PM Sven Schreiber > wrote: > > > > I'm seeing the following reproducible crash on Windows 10 on a snapshot > > from May. (Later I will test on a newer snapshot, but mayb

[Gretl-devel] Re: gretl crash with omitted arg in hansl function

2023-07-10 Thread Cottrell, Allin
On Mon, Jul 10, 2023 at 1:18 PM Sven Schreiber wrote: > > I'm seeing the following reproducible crash on Windows 10 on a snapshot > from May. (Later I will test on a newer snapshot, but maybe someone can > reproduce this.) > > Here's a pretty minimal example: > > > function matrix f (string

[Gretl-devel] Re: install failure on virtual Ubuntu on Windows/WSL(g)

2023-07-10 Thread Cottrell, Allin
On Mon, Jul 10, 2023 at 5:40 AM Sven Schreiber wrote: > > Hi, > > I'm facing a problem in ubuntu 22.04 which runs in the Windows Subsystem > for Linux, with support for graphical apps (version 2, WSLg), in Windows 11. > > The build runs fine, but at the "sudo make install" stage I'm getting: > >

[Gretl-devel] Re: outdated online manuals

2023-06-18 Thread Cottrell, Allin
On Sun, Jun 18, 2023 at 11:56 AM Sven Schreiber wrote: > > Am 18.06.2023 um 11:33 schrieb Cottrell, Allin: > > On Sat, Jun 17, 2023 at 6:47 PM Sven Schreiber > wrote: > > it seems to me that several files in this path are not up to date: > https://sourceforge.net/pro

[Gretl-devel] Re: outdated online manuals

2023-06-18 Thread Cottrell, Allin
On Sat, Jun 17, 2023 at 6:47 PM Sven Schreiber wrote: > > Hi, > it seems to me that several files in this path are not up to date: > https://sourceforge.net/projects/gretl/files/manual/ Those files are generally kept in sync with the gretl release, and I think that's the case at present. It's

[Gretl-devel] Re: impossible to access in DBNOMICS

2023-06-02 Thread Cottrell, Allin
On Fri, Jun 2, 2023 at 3:44 PM Riccardo (Jack) Lucchetti wrote: > > On Fri, 2 Jun 2023, Dionysio Lalountas wrote: > > > Hi all, > > Tried a few times to enter the dbnomics database and i get The following > > message > > Couldn't parse JSON input: :1:1: Parse error: unexpected character > >

[Gretl-devel] Re: Problems building gretl in a Fedora 38 container in GitHub

2023-05-28 Thread Cottrell, Allin
On Sun, May 28, 2023 at 3:15 PM Hélio Guilherme wrote: > > Hello Gretl masters :) Hello, Hélio! Good to hear from you. > I am trying to make a build pipeline in GitHub Actions, with the goal to have > Linux snapshots (.rpm, .deb). I am experimenting first on my copy of > sourceforge, but to

[Gretl-devel] Re: rows/cols names are lost

2023-05-16 Thread Cottrell, Allin
On Tue, May 16, 2023 at 6:42 AM Marcin Błażejowski wrote: > > Hi, > > after some basic matrix modifications cols & rows name are gone? Is that > expected: > > > m = mnormal(3,3) > strings rownames = defarray("r1", "r2", "r3") > strings colnames = defarray("c1", "c2", "c3") > rnameset(m,

[Gretl-devel] Re: rseed message/warning

2023-05-15 Thread Cottrell, Allin
On Mon, May 15, 2023 at 11:12 AM Marcin Błażejowski wrote: > > Hi, > > from which source file a message: 'rseed: argument value 0 is out of > bounds' may come from? robroy:~/src$ find . -name "*.c" | xargs grep 'argument val' | grep bounds ./lib/src/gretl_func.c:

[Gretl-devel] Re: crash when trying to look at package code

2023-05-14 Thread Cottrell, Allin
On Sun, May 14, 2023 at 5:34 AM Sven Schreiber wrote: > > Hi, > > this is with the April 19th snapshot on Windows 10 (running in German without > local comma), and is reproducible. > > - open the package list window via the button at the bottom > > - search for the StrucBreak package by entering

[Gretl-devel] Re: nullspace() weirdness

2023-05-08 Thread Cottrell, Allin
On Mon, May 8, 2023 at 12:24 PM Riccardo (Jack) Lucchetti wrote: > > I just realised that our implementation of nullspace() contains a mild > inconsistency, that I think we should get rid of. Consider the following > script [.which displays an apparent inconsistency] > > The inconsistency lies in

[Gretl-devel] Re: About adding observations in forecasts with an estimated AR model

2023-05-02 Thread Cottrell, Allin
On Mon, May 1, 2023 at 8:47 PM Cottrell, Allin wrote: > > On Mon, May 1, 2023 at 12:39 PM yinung at Gmail wrote: > > > > Thanks for quick responses. I re-tested it and found that "adding > > observations" windows occurs if the estimated AR is without a consta

[Gretl-devel] Re: About adding observations in forecasts with an estimated AR model

2023-05-01 Thread Cottrell, Allin
On Mon, May 1, 2023 at 12:39 PM yinung at Gmail wrote: > > Thanks for quick responses. I re-tested it and found that "adding > observations" windows occurs if the estimated AR is without a constant. For > example, > > open bjg.gdt > smpl ; -10 > model1 <- arima 1 0 1; g --nc > > Then, turn to

[Gretl-devel] Re: join gdt-file: series description gets lost

2023-04-12 Thread Cottrell, Allin
On Mon, Apr 10, 2023 at 5:43 PM Riccardo (Jack) Lucchetti wrote: > > On Sun, 9 Apr 2023, Sven Schreiber wrote: > > > Am 09.04.2023 um 10:54 schrieb Artur T.: > >> Hi all, > >> > >> I stumbled probably over some bug when joining a series. > >> > >> When appending a gdt-dataset, the description of

[Gretl-devel] Re: 'catch' and error messages

2023-04-03 Thread Cottrell, Allin
On Mon, Apr 3, 2023 at 6:00 AM Sven Schreiber wrote: > > I'm wondering why sometimes there exist informative error messages but it > doesn't seem easy to catch them. Here's a concrete (and real-world-inspired) > use case: > > ? m = feval("haha") > haha: function not found > > That's exactly the

[Gretl-devel] Re: glitch with switching decimal separator

2023-03-31 Thread Cottrell, Allin
On Fri, Mar 31, 2023 at 6:42 AM Sven Schreiber wrote: > > Am 30.03.2023 um 21:11 schrieb Cottrell, Allin: > > On Thu, Mar 30, 2023 at 2:54 PM Sven Schreiber > wrote: > > Am 30.03.2023 um 20:06 schrieb Cottrell, Allin: > > This would help: If you run gretl.ex

[Gretl-devel] Re: glitch with switching decimal separator

2023-03-30 Thread Cottrell, Allin
On Thu, Mar 30, 2023 at 2:54 PM Sven Schreiber wrote: > > Am 30.03.2023 um 20:06 schrieb Cottrell, Allin: > > On Thu, Mar 30, 2023 at 10:27 AM Sven Schreiber > > wrote: > >> Am 20.03.2023 um 23:05 schrieb Sven Schreiber: > >>> Am 20.03.2023 um 20:25 sch

[Gretl-devel] Re: glitch with switching decimal separator

2023-03-30 Thread Cottrell, Allin
On Thu, Mar 30, 2023 at 10:27 AM Sven Schreiber wrote: > > Am 20.03.2023 um 23:05 schrieb Sven Schreiber: > > Am 20.03.2023 um 20:25 schrieb Cottrell, Allin: > >> Hmm, I can't replicate that. I run gretl with LANG=de_DE.UTF-8, select > >> the option of usin

[Gretl-devel] Re: 'print' mixture with series

2023-03-23 Thread Cottrell, Allin
On Thu, Mar 23, 2023 at 4:46 AM Sven Schreiber wrote: > > Hi, not sure if the following should work: > > > open denmark > series se > string s > print se s # error > > > The cause seems to be mixing a series with another type in the print > command. (Even though the error msg somewhat

[Gretl-devel] Re: Optional arguments (in user-defined hansl functions) and nested function calls

2023-03-21 Thread Cottrell, Allin
On Tue, Mar 21, 2023 at 6:43 PM Sven Schreiber wrote: > > Am 21.03.2023 um 19:51 schrieb Cottrell, Allin: > > One more go on this... > > On Tue, Mar 21, 2023 at 1:53 PM Sven Schreiber > wrote: > > > function void level2 (string s2) > eval exists(s) ? s : &

[Gretl-devel] Re: Optional arguments (in user-defined hansl functions) and nested function calls

2023-03-21 Thread Cottrell, Allin
One more go on this... On Tue, Mar 21, 2023 at 1:53 PM Sven Schreiber wrote: > > function void level2 (string s2) > eval exists(s) ? s : "nothing" > end function [ BTW note confusion between s2 and s here ] > function void level1 (string s1[null]) > if !exists(s1) > string s1

[Gretl-devel] Re: Optional arguments (in user-defined hansl functions) and nested function calls

2023-03-21 Thread Cottrell, Allin
On Tue, Mar 21, 2023 at 1:53 PM Sven Schreiber wrote: > > looking at some new hansl code I'm reminded again that we have a fundamental > problem for (mildly) advanced programming, I'm afraid. An example is probably > the best way to show what I mean: > > > > function void level2 (string s2) >

[Gretl-devel] Re: glitch with switching decimal separator

2023-03-20 Thread Cottrell, Allin
On Mon, Mar 20, 2023 at 9:32 AM Sven Schreiber wrote: > > with a snapshot from March 11th, it seems that when (running in German > which natively would have a decimal comma) I switch off the comma in the > settings, it works, but when I try to switch it back _on_, then the > decimal point stays.

[Gretl-devel] Re: search in packages' descriptive labels

2023-03-20 Thread Cottrell, Allin
On Mon, Mar 20, 2023 at 3:29 AM Sven Schreiber wrote: > > it would be useful if - in the package listing window - using the search text > box would not only search the names of the packages (as it seems to be > doing), but also in the descriptive strings. Indeed. There was code in the gui

[Gretl-devel] Re: LIML glitch

2023-03-15 Thread Cottrell, Allin
On Wed, Mar 15, 2023 at 4:11 AM Riccardo (Jack) Lucchetti wrote: > > I just tried running tsls with the --liml option on a just-identified > equation. As is well-known, this should return the same results as > ordinary 2sls. For some reason, I'm getting an error: I suspect this is > linked to the

[Gretl-devel] Re: ERROR: aggregate() w. user-defined functions

2023-03-13 Thread Cottrell, Allin
On Mon, Mar 13, 2023 at 7:33 AM Artur T. wrote: > > Hi all, > > I obtain an error with the aggregate() function when calling a > user-defined function for aggregation. > > The following example works fine, if one groups the data by a single > variable but it fails with a second group-by variable:

[Gretl-devel] Re: lrvar bug (?) in panels

2023-03-06 Thread Cottrell, Allin
On Fri, Mar 3, 2023 at 10:52 AM Sven Schreiber wrote: > > I suspect that the lrvar function (long-run variance estimation) is slightly > wrong in the panel case. Consider the following example [...] Well, it's more than slightly wrong: the current function is only applicable to straight

[Gretl-devel] message to gretl translators

2023-02-15 Thread Cottrell, Allin
My apologies if you get this message more than once, but this would be a good time to update translations if you have time to do so. We plan to release gretl 2023a by the end of next week. Allin ___ Gretl-devel mailing list --

[Gretl-devel] Re: "const" function arg qualifier and pointer form

2023-02-10 Thread Cottrell, Allin
On Fri, Feb 10, 2023 at 11:07 AM Sven Schreiber wrote: > > I'm asking for verification or falsification of my understanding how > arguments to functions are treated, specifically those (potentially) > involving a lot of memory. Consider these two similar functions: > > > function void

[Gretl-devel] Re: gretl(cli.exe) has problems removing temp files on Windows

2023-01-29 Thread Cottrell, Allin
On Sun, Jan 29, 2023 at 2:46 PM Sven Schreiber wrote: > > recently (?) I'm observing these kind of error messages on a Windows shell, > as the last message before the called gretlcli.exe program exits: > > win32_remove 'prntmp.J1BKZ1': 'Der Prozess kann nicht auf die Datei > zugreifen, da sie

[Gretl-devel] Re: crash when clicking the "show windows" button

2023-01-24 Thread Cottrell, Allin
On Sat, Jan 21, 2023 at 8:24 AM Sven Schreiber wrote: > > just got a hard crash on Windows with a Jan-7th snapshot, when I clicked the > upper-right corner button that is supposed to show a drop-down context menu > with a list of open windows. > > I'm not trying right now to reproduce it, and

[Gretl-devel] Re: small error with modprint

2023-01-23 Thread Cottrell, Allin
On Sun, Jan 22, 2023 at 5:36 PM Sven Schreiber wrote: > > Hi, not sure if the following is a bug per se, but the error message is > strange in any case: > > > > open denmark > > matrix dummymat = {3, 0.5; 2, 0.6; 4, 0.9} > strings somenames = defarray("ha", "ho", "he") > > modprint dummymat

[Gretl-devel] Re: missing image files in git master?

2023-01-22 Thread Cottrell, Allin
On Sun, Jan 22, 2023 at 9:42 AM Sven Schreiber wrote: > > Hi, I got errors on Linux at the "make install" stage because some figure > files were not present. I believe this is in relation to geoplot changes. You need to rerun the configure script. Allin

[Gretl-devel] Re: tobit's --quiet flag to quite guiet

2023-01-19 Thread Cottrell, Allin
On Thu, Jan 19, 2023 at 10:55 AM Sven Schreiber wrote: > > Am 19.01.2023 um 14:47 schrieb Cottrell, Allin: > > Or more efficiently: > > outfile null > # do stuff silently > end outfile > > Ah, thanks, Allin, I was looking only for double-dash options in the doc a

[Gretl-devel] Re: tobit's --quiet flag to quite guiet

2023-01-19 Thread Cottrell, Allin
On Thu, Jan 19, 2023 at 11:11 AM Marcin Błażejowski wrote: > > On 19.01.2023 16:48, Cottrell, Allin wrote: > > My feeling is that neither --quiet nor even --silent as applied to > > individual commands should suppress warnings; they're about reducing > > or eliminatin

[Gretl-devel] Re: tobit's --quiet flag to quite guiet

2023-01-19 Thread Cottrell, Allin
On Thu, Jan 19, 2023 at 9:52 AM Marcin Błażejowski wrote: > > On 19.01.2023 14:47, Cottrell, Allin wrote: > > Or more efficiently: > > > > outfile null > > # do stuff silently > > end outfile > > Well, it works of course but for me it is a trick ra

[Gretl-devel] Re: tobit's --quiet flag to quite guiet

2023-01-19 Thread Cottrell, Allin
On Thu, Jan 19, 2023 at 4:19 AM Sven Schreiber wrote: > > Am 19.01.2023 um 09:22 schrieb Marcin Błażejowski: > > Hi, > > when we perform tobit command with --guiet flag we sometimes get the > following message: "Warning: couldn't improve criterion (gradient = > 6.04477e-06)", which per se makes

[Gretl-devel] Re: new crash recipe (with 'inject')

2023-01-17 Thread Cottrell, Allin
On Tue, Jan 17, 2023 at 2:42 PM Sven Schreiber wrote: > > Hello again, > > here's a fairly minimal example: > > > > open denmark > system method=ols > equation LRM 0 > equation LRY 0 > end system > > RR = defarray("[2 , 10] = 0b") # the "b" got shuffled around > restrict > inject RR

  1   2   3   >