Thank you for your reply.
What I meant is that, e.g., if I create a list of the code of 50 states
list statelist = AR MA PA ...
I can save this statelist somewhere. Next time I do not need to create this
list again. I just retrieve it from the file. So, when I need to do the data
of the population of the 50 state, I can just create a new list from it by
list statepop = statelist suffix pop
then I can get the state population variable list
ARpop MApop PApop ...
In the reverse case, if I get the list statepop from the variable names in
from the population by state dataset, and I want to get the state code list
from it, I can type
List statelist = statepop strip pop
Then I can get the state code list
AR MA PA ...
Anyway, I can save the lists I created for future manipulation and use,
especially when they are very long lists. Can gretl allow doing that?
Date: Fri, 25 Sep 2009 14:51:35 +0200
From: Sven Schreiber <svetosch(a)gmx.net>
Subject: Re: [Gretl-users] Can gretl allow to save lists for future
To: Gretl list <gretl-users(a)lists.wfu.edu>
Content-Type: text/plain; charset=UTF-8
not sure what you mean: it _is_ possible to save the list members to
separate files and re-open them later on. But I admit that you would
have to write a script for that I guess.
Or do you mean you want to save the definition of a list as a kind of
object in a gretl session file, instead of the values of the series in
the list? I'm not sure if that's implemented.
YiMin Chen schrieb:
I am new to this great econometric software. Its list function is very
useful, obviously an edge over the EViews? Group function. It will be
even more useful if gretl provides more ways to create and manipulate
lists, and most importantly, can save the lists in a file and can be
retrieved for future use. I do not know how much work it needs to add
such capacity to gretl. Is there anyone interested in adding such
capacity to gretl?