I'm puzzled. Possibly,
set trace on
estwrite ...
will shed some light on the issue (can you send me a copy of the output?).
> On a related note, when I use estread to restore estimates from a
> previous session how do I combine them with estimates from a current
> session that are in eststo dir, say to make a multiple columned table
> of estimates? eststo doesn't appear to see the estimates restored by estread.
-eststo- maintains global macro $eststo. You could type
. global eststo $eststo `r(names)'
after -estread- to update the macro.
Alternatively, just provide the names of the estimation sets to
-estout- or -esttab-. For example,
. estout *
will tabulate all available estimation sets. To see a list of all
available estimation sets, type -estimates dir-.
ben
On Tue, Dec 16, 2008 at 10:44 PM, Carl Nelson <[email protected]> wrote:
> At 03:08 PM 12/16/2008, you wrote:
>>-estwrite- uses Mata to write it's files (unless you use Stata 8 or
>>specify the -estsave- option). Maybe Mata has problems writing to the
>>portable HD. Try something like
>>
>>mata
>>fn = "test.txt"
>>fh = fopen(fn, "w")
>>fput(fh, "whatever")
>>flose(fh)
>>end
>>
>>or
>>
>>mata
>>X = 1
>>mata matsave test X
>>end
>>
>>Does this work?
>>ben
> Yes it does. I'll investigate a bit further and try looking at the
> ado file to see where the error is being generated.
> On a related note, when I use estread to restore estimates from a
> previous session how do I combine them with estimates from a current
> session that are in eststo dir, say to make a multiple columned table
> of estimates? eststo doesn't appear to see the estimates restored by estread.
>
> Thanks.
>
> Carl
>
>
> *
> * For searches and help try:
> * http://www.stata.com/help.cgi?search
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
>
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/