Il giorno mer, 13/07/2011 alle 09.58 -0400, Cottrell, Allin ha scritto:
On Wed, Jul 13, 2011 at 8:24 AM, Pietro Battiston
<me(a)pietrobattiston.it> wrote:
> Unfortunately, I have two problems [...]
Welcome to gretl-devel.
> 1) what seems to me a bug:
>
> ? tabprint -f "/home/pietro/prova.tex"
> Model printed to /home/pietro/model_1.tex
>
> Notice the wrong filename.
Yes, thanks for the report.That got broken at some point. It's now fixed in
CVS and snapshots.
Thanks a lot.
If I could add a whishlist item, that would be the possibility to remove
the significance parameters from the bottom of the output, and leave
only the table.
And maybe - but I feel this as less urgent - to add to the command line
the formatting possibilities that the GUI exposes under "Tabular
options".
> 2) what is either a whishlist feature, or a proof of my blindness in
> reading the manuals: if, as it seems to me, the only way of writing to a
> file (apart from LaTeX output) is the command "output", then it
doesn't
> help me, because if I do
>
> outfile /home/pietro/my_file --write
> print result
> outfile --close
>
> then "my file" will contain:
>
> ? print result
>
> result = 4317.0000
> ? outfile --close
>
> while I would like just the number.
To get control over that sort of thing, use "printf" rather than
"print". E.g.
outfile /home/pietro/my_file --write
printf "%f\n", result
outfile --close
Thanks again, I have another problem with that but I will write in
gretl-users.
Pietro