Home › Forums › ASDOC : Easy Publication Quality Tables in Stata › asdoc The Current Directory is not writable | Stata › Reply To: asdoc The Current Directory is not writable | Stata
The message of asdoc is quite detailed and reports a possible solution to the problem. Let me discuss first the circumstance why this happens, and then discuss the solution.
Why this message is shown
asdoc first checks whether it can write output to the current directory. By default, Stata sets the installation folder as a working directory. This might be a system folder where write-protection is enabled. If asdoc cannot write to this directory, it will not proceed further and generate the error message.
What is the solution
The solution is to create a directory where you can the write-permission. Once the directory is create, you can change to that directory by typeing
Suppose you created a directory in C folder with the name results, then to change to that directory, type this in Stata
And then use asdoc.
asdocx is now available
A more powerful and flexible version of asdoc is now available. I call it asdocx. You may like to check the details here https://fintechprofessor.com/asdocx
Please do remember to cite asdoc. To cite:
Tables were created using asdoc, a Stata program written by Shah (2018).
- This reply was modified 2 years ago by Attaullah Shah.