There are a few new things in CVS (and the Windows snapshot) in
response to points made by Ignacio a while back. Here we go:
Databases in GUI:
You can now select multiple series in a database window, using the
usual shift and ctrl modifiers. Then the Display, Graph and
Import menu items will work on all the selected series.
Two things to note: (1) A multiple selection can only include
series with a common frequency. (2) When multiple series are
selected, the mechanism of dragging the series to the main gretl
window doesn't work: this is a long-standing GTK bug. You have to
use /Series/Import from the menu-bar or "Import" from the pop-up
menu.
There is also a new menu item, Delete, which deletes selected
series from the database. This item is available only for native
gretl databases to which the user has write access. [See note
below for MS Windows.]
Databases in CLI:
The "delete" command now has a "--db" option, which allows you to
delete specified series (given by name) from a native gretl
database to which you have write access. You need to use the
"open" command first, as in:
open mydb.bin
delete x15 y32 --db
New "dataset" command:
This subsumes the old commands "addobs" and "transpos", and adds
options to compact or expand the dataset (i.e. lower or increase
the data frequency) which were previously available only via the
GUI menus. Please see the new help item for "dataset", but here's
how it works by example:
dataset addobs 24
dataset compact 1
dataset compact 4 sum
dataset expand 12
dataset tranpose
The command words "addobs" and "transpos" are still available as
aliases, but they're gone from the manual and should be considered
deprecated.
[Note on Windows: It is extaordinarily difficult to find out if
the current user has write access to a given file, involving calls
to 5 win32 API functions with up to 8 arguments per function. I
think I have this right but haven't had time to test. Please be
aware: it's possible the current snapshot will crash when you try
to open a native database -- and gretl tests to see if you have
write access to it.]
Allin.
--
Allin Cottrell
Department of Economics
Wake Forest University, NC
Show replies by date