Am 09/30/2011 09:43 PM, schrieb Allin Cottrell:
On Fri, 30 Sep 2011, Sven Schreiber wrote:
> here's what seems to be an "interface problem" in some sense, although
I
> also have that déjà vu feeling as if we discussed this before...
>
> Anyway, I just chose "save data as / standard format", then selected a
> subset of all variables to be saved, and entered a new filename
> ("transfer1.gdt"). This operation as such went fine it seems -- when I
> open that new file in a new gretl instance, everything looks good.
>
> However, in the main window of the old instance the line below the menu
> bar (on Ubuntu) says "transfer1.gdt", but the window still lists all
> variables, not the selected subset. So either the status information
> saying "transfer1.gdt" must be wrong, or the display of all the old
> variables, right? Or am I missing something and there's a
> straightforward meaning to it (quite possible)?
I agree, there's something wrong here. If you save only a subset of the
currently defined series under some name, we probably shouldn't change
the displayed datafile name to the new name.
We could, I suppose, ask something like "Do you want to switch to the
smaller dataset?" but that could create problems. There's no restriction
on the selection of series to omit when saving a data subset, but there
are restrictions on the series you're allowed to delete in the course of
a session, depending on currently saved models and so on.
Actually, let me go one step back and ask a basic question: why have the
variable-selection option at all when the user chooses "save as"? I mean
an analogy of this behavior would be if in a text editor you choose
"save as" you are asked if you maybe want to edit paragraph three some
more before actually saving the file under a new name. Deleting
variables should probably be done afterwards within the new datafile.
Or, this is like an export-to-database action, which is also already
possible in gretl. (And BTW, maybe save-as-database should be
moved/changed to export-to-database?)
-sven