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

Attaullah Shah
Keymaster
Post count: 69

Akanksha
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

cd 

Suppose you created a directory in C folder with the name results, then to change to that directory, type this in Stata
cd C:/results
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:

In-text citation
Tables were created using asdoc, a Stata program written by Shah (2018).

Bibliography
Shah, A. (2018). ASDOC: Stata module to create high-quality tables in MS Word from Stata output. Statistical Software Components S458466, Boston College Department of Economics.
asdocx banner