I gonna try to use your sugestions (Chris, Berend and Allin). Thank you so much!
Best, Henrique 2009/8/22 Allin Cottrell <cottrell(a)wfu.edu> > > On Fri, 21 Aug 2009, Henrique wrote: > > > *Question 1* > > To save a OLS model with a specific name I can use *Example1 <- > > ols x1 const x2 x3 --robust --quiet*, but if I would like to > > name the model as Example 1 (with a space between Example and > > 1), according to Gretl manual, I can write *"Example 1" <- ols > > x1 const x2 x3 --robust --quiet*, am I correct? When a proceed > > in that way I get an error message. The only way it works is > > without the options *--robust --quiet*. > > That was a bug, now fixed in CVS. > > > *Question 2* > > Is it possible to insert some instruction on a Gretl script file > > in order to make Gretl recognize what operational system it is > > running on? More specifically, I would like to make a script to > > use on both of my computers (Windows based and OS/X based). > > You have the accessor $windows, > > <console> > ? help $windows > > $windows > Output: scalar > > Returns 1 if gretl is running on MS Windows, otherwise 0. By > conditioning on the value of this variable you can write shell > calls that are portable across different operating systems. > </console> > > We don't have a specific indicator for OS X. > > Allin Cottrell > _______________________________________________ > Gretl-users mailing list > Gretl-users(a)lists.wfu.edu > http://lists.wfu.edu/mailman/listinfo/gretl-users > -- Henrique C. de Andrade Doutorando em Economia Aplicada Universidade Federal do Rio Grande do Sul www.ufrgs.br/ppgeI gonna try to use your sugestions (Chris, Berend and Allin). Thank you so much!
Best,
Henrique
2009/8/22 Allin Cottrell <cottr...@wfu.edu>
On Fri, 21 Aug 2009, Henrique wrote:
> *Question 1*
> To save a OLS model with a specific name I can use *Example1 <-> without the options *--robust --quiet*.
> ols x1 const x2 x3 --robust --quiet*, but if I would like to
> name the model as Example 1 (with a space between Example and
> 1), according to Gretl manual, I can write *"Example 1" <- ols
> x1 const x2 x3 --robust --quiet*, am I correct? When a proceed
> in that way I get an error message. The only way it works is
That was a bug, now fixed in CVS.
> *Question 2*
> Is it possible to insert some instruction on a Gretl script fileYou have the accessor $windows,
> in order to make Gretl recognize what operational system it is
> running on? More specifically, I would like to make a script to
> use on both of my computers (Windows based and OS/X based).
<console>
? help $windows
$windows
Output: scalar
Returns 1 if gretl is running on MS Windows, otherwise 0. By
conditioning on the value of this variable you can write shell
calls that are portable across different operating systems.
</console>
We don't have a specific indicator for OS X.
Allin Cottrell
_______________________________________________
Gretl-users mailing list
gretl-us...@lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users
--
Henrique C. de Andrade
Doutorando em Economia Aplicada
Universidade Federal do Rio Grande do Sul
www.ufrgs.br/ppge