Announcement

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

  • Issue in installing reg2hdfespatial.ado

    Hi everyone,
    I am trying to install the reg2hdfespatial.ado file in my STATA 16. I have placed the ado file in my personal ado folder, which is also showing with the 'sysdir' command of STATA. After placing the ado file I used the command: install *.ado

    But it is not working, showing the error message: "command install is unrecognized".

    Can anyone tell me how to install the ado file and reg2hdfespatial.ado?

  • #2
    As Stata is telling you there isn't a command install.

    But from your question you have already installed the command files, where by "install" we mean "copied the files so that Stata can see them" -- so there is nothing else to do. If you type

    Code:
    which reghdfespatial
    you should see that the ado file is visible by virtue of being in whatever Stata knows as PERSONAL.

    It's trivial by comparison but usually PERSONAL is for commands you've written yourself and PLUS is for stuff written by other people, but that doesn't matter much, if at all.

    Comment


    • #3
      I have put the ado file in PERSONAL. After that, I used
      Code:
      help reg2hdfespatial
      but did not find the help.

      I have tried the full syntax as described in
      Code:
      which reg2hdfespatial
      . But it is showing
      Code:
      command tmpdir is unrecognized
      which means it does not recognize the command or ado file.

      I have also tried with placing the ado in PLUS. But found same issue.

      Comment


      • #4
        On that evidence I suspect that your Stata installation may be corrupted.

        There is a community-contributed command tmpdir from SSC, but a call to which does not depend on it.

        I'd get in touch with StataCorp technical services. See e.g. https://www.stata.com/support/tech-support/contact/

        Alternatively, you mention installing the .ado file but you say nothing about installing the help file. However, which failing in the way it does is deeply puzzling.

        If you didn't get your copy of Stata from StataCorp or one of their distributors, you need to harangue whoever supplied it.

        Comment

        Working...
        X