I am having an issue with asdoc properly saving results. Sometimes, it will work fine, and then, seemingly randomly, it will start failing to save the results. It will create the file, it will create the table with the proper row and column labels, but the actual results will be missing. For example:
The output of the code seems correct, there are no errors.
.
This code will create the file test.doc, but when I open it, it just shows this. All the data is missing.
I have tried to restart Stata, restart my computer, update asdoc, uninstall and reinstall asdoc, save the file to a different location or as a different file type and none of those fix the issue. I am not working remotely or trying to save anything to an external drive. It will randomly start working and stop working for a reason I cannot figure out.
Obviously, there is something wrong on my end, but I am wondering if anyone has had this issue before or might know some troubleshooting tips. I have tried everything I can think of.
Edit: The problem is also consistent across summarize, tabstat, and ttest. I am on Stata 18, the 15 May 2023 version. I see there is an update and will try to get IT to install it. But asdoc was working on this version of stata just a few hours ago.
Code:
ssc uninstall asdoc ssc install asdoc, replace clear sysuse auto asdoc summarize, replace save(C:\Users\tylermenzer\Desktop\test)
.
Code:
asdoc summarize, replace save(C:\Users\tylermenzer\Desktop\test)
Variable | Obs Mean Std. dev. Min Max
-------------+---------------------------------------------------------
price | 74 6165.257 2949.496 3291 15906
mpg | 74 21.2973 5.785503 12 41
rep78 | 69 3.405797 .9899323 1 5
headroom | 74 2.993243 .8459948 1.5 5
trunk | 74 13.75676 4.277404 5 23
-------------+---------------------------------------------------------
weight | 74 3019.459 777.1936 1760 4840
length | 74 187.9324 22.26634 142 233
turn | 74 39.64865 4.399354 31 51
displacement | 74 197.2973 91.83722 79 425
gear_ratio | 74 3.014865 .4562871 2.19 3.89
-------------+---------------------------------------------------------
foreign | 74 .2972973 .4601885 0 1
Click to Open File: C:\Users\tylermenzer\Desktop\test.doc
This code will create the file test.doc, but when I open it, it just shows this. All the data is missing.
|
I have tried to restart Stata, restart my computer, update asdoc, uninstall and reinstall asdoc, save the file to a different location or as a different file type and none of those fix the issue. I am not working remotely or trying to save anything to an external drive. It will randomly start working and stop working for a reason I cannot figure out.
Obviously, there is something wrong on my end, but I am wondering if anyone has had this issue before or might know some troubleshooting tips. I have tried everything I can think of.
Edit: The problem is also consistent across summarize, tabstat, and ttest. I am on Stata 18, the 15 May 2023 version. I see there is an update and will try to get IT to install it. But asdoc was working on this version of stata just a few hours ago.

Comment