El 26/10/11 09:10, Sven Schreiber escribió:
Two remarks, one to point out a workaround, one for a potential
future
solution:
The workaround: One could use LibreOffice (or OpenOffice) to read the
xlsx file and then save as a format which gretl understands.
A potential solution: Instead of having Allin code the xlsx import stuff
in C, one could leverage available Python libraries to do that. If gretl
added foreign-language support for Python, I would promise to contribute
a function that reads xlsx files within three months (of course, Python
would need to be available on the user's system for that). But my guess
is that Allin in one of his coding flashes solves the problem before that...
cheers,
sven
Sorry, if you read the gretl changelog, you will see that version 1.9.6
already has an .xlsx importer:
"2011-10-17 Version 1.9.6 [Back to top]
- Add an importer for xlsx (Office Open XML) worksheet data"
This is accesible to the user in the menu File/Open data/import/Excel...
you only have to select the .xlsx file and gretl will open it (but I
have not checked it because I have no .xlsx files at hand)
--
Ignacio Diaz-Emparanza
DEPARTAMENTO DE ECONOMÍA APLICADA III (ECONOMETRÍA Y ESTADÍSTICA)
UPV/EHU Avda. Lehendakari Aguirre, 83 | 48015 BILBAO
T.: +34 946013732 | F.: +34 946013754
www.ea3.ehu.es