nadaud | 24 Jan 2007 15:20
Picon
Favicon

matrix operations

Hi again, and thanx for your quick responses !

I finally used something heavier, that does it also:
matrix Z=zeros[4,4]
matrix Z[1,]=transp(logement.$coeff[2:5])
matrix Z[2,]=transp(transport.$coeff[2:5])
matrix Z[3,]=transp(composite.$coeff[2:5])

([2:5] because i drop the constant)

well, I will append with your advice using matrix concatenation.

Just to, add, I am using the script mode under windows XP, excuted in english
from the XP console. However, I can run the script only once, then, if I
modify it
and rerun, gretl crashes. So I must launch gretl every time.

Do you have an idea about some parameter to set inside windows ?

thanx again and see ya

Franck
Allin Cottrell | 24 Jan 2007 15:40
Picon
Favicon

Re: matrix operations

On Wed, 24 Jan 2007, nadaud@... wrote:

> Just to, add, I am using the script mode under windows XP, 
> excuted in english from the XP console. However, I can run the 
> script only once, then, if I modify it and rerun, gretl crashes.

Well, that certainly shouldn't happen.  Could you send me (or the 
list) a sample of a script that crashes when re-run?  Thanks.

Allin Cottrell
Allin Cottrell | 24 Jan 2007 16:33
Picon
Favicon

Re: matrix operations

On Wed, 24 Jan 2007, Allin Cottrell wrote:

> On Wed, 24 Jan 2007, nadaud@... wrote:
>
>> Just to, add, I am using the script mode under windows XP, 
>> excuted in english from the XP console. However, I can run the 
>> script only once, then, if I modify it and rerun, gretl 
>> crashes.
>
> Well, that certainly shouldn't happen.  Could you send me (or 
> the list) a sample of a script that crashes when re-run? 
> Thanks.

In case anyone else runs into this issue: There is a potential for 
bad stuff, including a crash, if a complex script (one that saves 
various objects) is re-run without re-initializing gretl's state.

I will work on this, but in the meantime here is a simple 
work-around: make sure there's a command to open a data file (or 
"nulldata") at the top of the script.  This will reinitialize 
gretl when the script is run, and you should be able to run it as 
many times as you want.

Allin.
Allin Cottrell | 24 Jan 2007 18:29
Picon
Favicon

Re: matrix operations

On Wed, 24 Jan 2007, nadaud@... wrote:

> Just to, add, I am using the script mode under windows XP, 
> excuted in english from the XP console. However, I can run the 
> script only once, then, if I modify it and rerun, gretl crashes. 
> So I must launch gretl every time.

The bug that led to that problem was, I think, specific to scripts 
that generated saved objects such as named models.  It is now 
fixed in CVS.  I'll make a new Windows snapshot once I've fixed 
some of the other outstanding issues.

Allin.

Gmane