Announcement

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

  • Manually installing new Stata command on a Mac

    Hi all,

    I am trying to test a new Stata module that is being developed by a colleague. He has it working on a PC where the .ado file works when manually added to the directory “C:\ado\plus\c”. However, I am using a Mac and have not been able to replicate his success. I have manually added the .ado file to "/Applications/Stata 13/ado/base/c/" and to "~/Library/Application Support/Stata/ado/plus/c/", which is where all my other modules (downloaded using "ssc install") live.

    However, when I try to use commands supported by the programme, I just see error r(199) "unrecognised command: commandnew".

    Stata appears to see the file correctly when I use "which commandnew" as it returns appropriate information, i.e. "/Applications/Stata 13/ado/base/c/commandnew.ado" then "*! commandnew.ado by John Smith on 07/03/2019".

    However, when I search through installed packages using "ado dir", it doesn't appear alongside all the commands that were installed from the SSC archive.

    Can anyone think what I might be doing wrong? I have attached a screenshot showing the output from "sysdir".

    David


    Click image for larger version

Name:	Screen Shot 2019-03-20 at 15.12.22.png
Views:	1
Size:	22.2 KB
ID:	1489159





Working...
X