OK, got it. And then you're using the GUI data-editor to input values
for the new variable? I've tried that with your dataset on Linux and
couldn't provoke a problem, but then I tried on Windows 11 and indeed
I could provoke a crash. The GUI data-editor seems to be flaky on
Windows. I'll investigate further.
As a workaround, you could enter values for 2010-2024 like this, via
the console:
# add a empty series
series newvar
# set the sample range
smpl 2010 2024
newvar = {1.2, 2.3,...,15.6}'
The {...} construction gives you a vector in which you can specify15
values, and the trailing apostrophe makes it a column vector, suitable
for inserting as the "newvar" values for the 15 observations in the
sample.
Allin
On Thu, May 14, 2026 at 8:04 AM Brian Revell <bjr.newmail(a)gmail.com> wrote:
>
> True Data Define New Variable.
>
> On Thu, 14 May 2026 at 12:57, Cottrell, Allin <cottrell(a)wfu.edu> wrote:
>>
>> On Thu, May 14, 2026 at 7:17 AM Brian Revell <bjr.newmail(a)gmail.com>
wrote:
>> >
>> > Latest update of Gretl 2026b
>> > Windows 11 O.S.
>> > GUI using Data Add New Variable
>> > Complete Data series 1994 to 2024 but only entering data from 2010. That
failed. Gret closed with no error message or warning. Reset Sample to 2010-2024. Add New
Variable still crashed the restarted and reloaded dataset in Gretl after 2 entries.
>> > Data numeric 2 decimal places.
>> >
>> > Datafile attached.
>>
>> Thanks, Brian. There isn't actually a "Data/Add New Variable" menu
>> item. Do you mean "Data/Add observations" or "Add/Define new
>> variable"?