[Gretl-devel] Feature Request 1886987

Sven Schreiber svetosch at gmx.net
Thu Feb 7 16:54:46 EST 2008


Am 06.02.2008 20:39, Allin Cottrell schrieb:
> On Wed, 6 Feb 2008, Sven Schreiber wrote:
> 
>> Am 05.02.2008 20:59, Allin Cottrell schrieb:
>>
>>> But this has a "preserve" option:
>>>
>>>   dataset clear --preserve
>>>
>>> which has the effect that existing named matrices are not destroyed.
>>>
>>> Similarly, the commands "open" and "nulldata" have a --preserve option:
>>> clear most stuff out, but keep matrices.
>> I guess this does not cover scalar variables, what about the new string
>> variables?
> 
> Nothing but matrices, so far.  But scalars and strings are worth 
> thinking about.

What about the rule: there are two object classes, one which covers data 
series and everything else which is saved in the datafile (as opposed to 
the session file), and the remaining stuff which gretl does not save in 
a datafile. (Don't know how gretl currently treats or should treat 
scalars and strings.)  '--preserve' would apply to all objects in the 
second class.


...

   However, there's
> _some_ sense in the current ad hoc setup, in that it would be 
> silly to give scalars icons in the session view, not so silly to 
> do that with matrices, IMO.  

True

> 
> There's no GUI representation of saved lists or strings.  I can't 
> see any use for giving the latter such a representation, but one 
> could probably think of a use for the former.

I agree; for example for the py4gretl functions it would have been nice 
if it had been possible to define and/or check the existing lists 
visually before calling the function package. (The list definition 
dialog from within the function package is very nice, couldn't that be 
promoted to a more broadly available dialog?)

cheers,
sven



More information about the Gretl-devel mailing list