[Gretl-users] Can gretl allow to save lists for future use (Sven Schreiber)
YiMin Chen
s-chen at verizon.net
Fri Sep 25 11:56:36 EDT 2009
Hi Sven,
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
typing
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?
Regards
YiMin Chen
------------------------------
Message: 2
Date: Fri, 25 Sep 2009 14:51:35 +0200
From: Sven Schreiber <svetosch at gmx.net>
Subject: Re: [Gretl-users] Can gretl allow to save lists for future
use
To: Gretl list <gretl-users at lists.wfu.edu>
Message-ID: <4ABCBCD7.9020403 at gmx.net>
Content-Type: text/plain; charset=UTF-8
Hi,
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.
cheers,
sven
YiMin Chen schrieb:
> Dear Developers,
>
> 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?
>
> Beast regards,
>
> YiMin Chen
>
More information about the Gretl-users
mailing list