[Gretl-users] exporting to excel

Allin Cottrell cottrell at wfu.edu
Sat May 12 11:51:42 EDT 2007


On Sat, 12 May 2007, Chris wrote:

> One other thing, I don't see a readily obvious way to run gretl 
> in batch like mode. To get this to work I need to be able to do 
> something like call gretl, feed it the regression request, point 
> it to the data and have the data saved as a csv file somewhere 
> all without user interaction.

Example file, uy.inp
----
open data4-1
ols 1 0 2
genr u = $uhat
genr y = $yhat
store /home/cottrell/uy.csv u y
! gnumeric /home/cottrell/u.csv
----

gretlcli -b uy.inp

The above runs the input file and opens the output csv file
in gnumeric.  

Allin.




More information about the Gretl-users mailing list