Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problems with -asdoc- command

    Hello all,

    I am having issues with the -asdoc- command after first installing it from -ssc install-.

    I am trying to use the -asdoc- command to export publication style tables for panel data regressions, correlations matrix etc.

    However when I use the command, it goes straight to opening Google Chrome, rather than opening the table in a Word document.

    Does anybody know why?

    Best,
    Peter


  • #2
    asdoc uses SMCL browse directive to create a clickable link to open a file. Depending upon your operating system and other settings, the clickable link might be interpreted as a web URL instead of a local file. I do not know how to reset such settings. But the at moment, you have two alternatives.

    1. Use the Shell command
    Use the shell command to open the file. Since asdoc assigns "MyFile.doc" name to output files, you can try (on Windows)
    Code:
     shell "Myfile.doc"
    or
    Code:
     shell open "Myfile.doc"
    on Mac

    2. Browse to the current directory
    You can browse to the current directory, find the MyFile.doc and double click on it to open.



    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.
    Regards
    --------------------------------------------------
    Attaullah Shah, PhD.
    Professor of Finance, Institute of Management Sciences Peshawar, Pakistan
    FinTechProfessor.com
    https://asdocx.com
    Check out my asdoc program, which sends outputs to MS Word.
    For more flexibility, consider using asdocx which can send Stata outputs to MS Word, Excel, LaTeX, or HTML.

    Comment

    Working...
    X