On Fri, 19 Jun 2015, Sven Schreiber wrote:
I just noticed that when I try to execute a package
("gears" button) and
no dataset is in place, the sample script is opened instead. From the
point of view of gretl it's perhaps understandable, but I was quite
confused even with all my gretl experience. Presenting an example is
nowhere near the definition of execution IMHO. I'd prefer a message like
"this package needs a dataset in place".
Also, what about packages that don't operate on actual data? I think
there was some discussion about it a while ago, but I don't remember the
conclusion.
The behavior of opening the sample script in response to "Execute"
when a package requires data that are not in place is relatively new;
we used to present the message you mention. Perhaps we should present
a dialog that contains that message but offers the option of opening
the sample script?
As for packages that don't have a data requirement -- or whose data
requirement is met -- "Execute" does open the package's execution
interface, not the sample script.
Allin