Am 10.12.2010 19:41, schrieb Henrique Andrade:
Em 10 de dezembro de 2010 Allin Cottrell <cottrell(a)wfu.edu
It happens because if you were to delete those variables this
would result in the re-numbering of several variables that appear
as dependent or as regressors in saved models, which would totally
confuse gretl.
Perhaps the error message should be adjusted in this case: saying
that the variable is "in use" is not quite accurate. But the
substantive point is correct: you really can't delete those series
without destroying your session file.
Dear Allin,
In my humble opinion this behavior doesn't look good. Suppose
hm, I think I'm sharing Henrique's view here. I certainly don't want to
confuse gretl (meaning: I understand that this is stuff that cannot be
changed quickly or easily), but in principle I think the external
numbering of variables shouldn't cause these kind of constraints.
Which leads me to ask: why actually do the variables have to be
renumbered after deleting something? Couldn't the numbers be simply
non-contiguous? Alternatively, maybe (in the longer term) there should
be a mapping from an internal immutable id number to the externally
visible numbering of the variables.
[maybe this discussion should be continued on the devel list]
thanks,
sven