Announcement

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

  • r(602) error - package already installed but cannot access ado files

    Dear all,

    I have an issue when I try to install the ssc package 'asdoc'.

    In the past I have always been able to install the package without any issues, but now I get different types of warnings, being:
    Code:
    r(602), r(603), r(699)
    The error always occurs when Stata checks whether the package is already downloaded, which is when it finds earlier installed packages and produces an error. I have tried two things:

    1.replacing the installed package with
    Code:
    ssc install ascode, replace
    , but then it generates the same r(602) error stating that the ado file already existScreen Shot1.png
    2. deleting the installed package, but then it gives the error that the package does not exist. Which is why I used
    Code:
    ado dir
    to see what packages are installed and the output (see below) shows that 'asdoc' is indeed not installed. I have found the same error with other packages I have installed in the past (e.g. nnmatch package)PS: I can only access Stata through a Virtual Desktop Infrastructure of my uni, meaning that the program is not downloaded on my pc, but runs on the servers of the university.
    Screen Shot 2019-04-10 at 18.28.13.png


    PS: I am using Stata 14.2 through a Virtual Desktop Interface from Uni, meaning that I cannot download Stata on my PC, but that it runs on my uni's servers.

    Thanks for all your advice,

    Samuel

  • #2
    You should first uninstall asdoc completely using the following code, then reinstall asdoc and then restart your Stata.
    Code:
     net install uninstall_asdoc, from(http://fintechprofessor.com) replace  
    uninstall_asdoc  
    ssc install asdoc, replace
    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


    • #3
      Thank you Attaullah, this helped a lot

      Comment

      Working...
      X