Dear Statalisters,
First, thanks to John Luke Gallup for writing frmttable! I wrote to him first before posting here.
I need help getting something to work; I realize it is probably small but have not been able to figure it out after 2 days, so here we go.
Please find attached an example do file using the auto data. statalist_qn_frmttable.do
My problem is that if you run it twice in the same stata session, the outputted table contains the previous results even though I have added in the beginning of the loop an erase command for the doc file and a matrix drop command for the matrix that I am formatting using frmttable.
I suspect that there is another matrix that gets created by frmttable and it stays in memory, but I don’t know how to get rid of it. Also possibly I could do something with the option clear, but I tried a few things and still couldn’t get it right.
Thank you so much,
Maria
First, thanks to John Luke Gallup for writing frmttable! I wrote to him first before posting here.
I need help getting something to work; I realize it is probably small but have not been able to figure it out after 2 days, so here we go.
Please find attached an example do file using the auto data. statalist_qn_frmttable.do
My problem is that if you run it twice in the same stata session, the outputted table contains the previous results even though I have added in the beginning of the loop an erase command for the doc file and a matrix drop command for the matrix that I am formatting using frmttable.
I suspect that there is another matrix that gets created by frmttable and it stays in memory, but I don’t know how to get rid of it. Also possibly I could do something with the option clear, but I tried a few things and still couldn’t get it right.
Thank you so much,
Maria
Comment