OMG, I didn't expect Riccardo Lucchetti himself to answer!!
 
Yes!, it is exactly the way you say, and also in .xls, .ods or .R files, as well as the posibility of longer chains in both variable names and descriptive labels, because they can frequently be really longer and you lose the meaning of them, having to write them by hand, what is a pain if the file has lots of variables.
 
It would be great if you could post code as you said (Hansel code I imagine) to make this thing possible, because atm I'm lost and the only solution I had in mind was to write code in a macro excel or libreoffice to create the file with the labels, but it's a pain and time consuming not being able to do it directly from Gretl.
Respect to the lenght of labels and names, I don't know if it is possible or too difficult to implement.
 
This program Gretl is so great, easy and very powerful at the same time, I want you to know that... - I suppose you obviously know... - as I've been so fortunate to be answered by you!
Sent: Saturday, May 25, 2019 at 6:08 PM
From: "Riccardo (Jack) Lucchetti" <r.lucchetti@univpm.it>
To: "Gretl development" <gretl-devel@gretlml.univpm.it>
Subject: [Gretl-devel] Re: New feature
On Sat, 25 May 2019, Sven Schreiber wrote:

> Am 25.05.2019 um 17:46 schrieb "Daniel Marín":
>> Hi, I think it would be very useful if users could specify a row in the
>> worksheet to be assigned as variable labels and specify other row for
>> variable names. This would be appreciated if possible also in other
>> formats as csv. Ut would save a lot of time and problems.
>> For example enabling an option in the "labels" command.
>> I also would let the names and labels be of a longer number of
>> characteres, very especially the labels, as in many cases the
>> descriptions of series are considerably long.
>> Thank you for your attention, I ignore if this would be very complicated
>> to do, so forgive me if i ask for too much.
>> Best regards,
>
> Hi, maybe it's just me, but I don't really understand the request. Could
> you give an example of what you have in mind when you talk about
> veriable labels vs. veraiable names?

I think that what Daniel has in mind is a csv file like this:

<csv>
x,y
"first label","second label",
2,3
4,5
0,1
</csv>

At present, reading a file like that is possible, but involves a bit of
scripting (I can provide an example if needed).

-------------------------------------------------------
Riccardo (Jack) Lucchetti
Dipartimento di Scienze Economiche e Sociali (DiSES)

Università Politecnica delle Marche
(formerly known as Università di Ancona)

r.lucchetti@univpm.it
http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------_______________________________________________
Gretl-devel mailing list -- gretl-devel@gretlml.univpm.it
To unsubscribe send an email to gretl-devel-leave@gretlml.univpm.it
Website: https://gretlml.univpm.it/postorius/lists/gretl-devel.gretlml.univpm.it/