Announcement

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

  • Stata unable to recognize command

    When i request for help using the help command, (example help esize) an error command comes out as :

    . help esize
    command whelp is unrecognized
    r(199);

    The alphabet w keeps appearing infront of every help command.
    is this a problem with stata or could it be my Windows? Has anyone experienced this before ?
    Last edited by Irwinder Kaur Chhabra; 14 May 2020, 00:09.

  • #2
    That is strange, for a number of reasons: the obvious problem is the addition of w. But even if the letter w is added to help, whelp is still a recognized command. In the old days (Stata 8 or less, the results of a help file were by default displayed in the output rather than in a separate window. whelp told Stata to display it in a separate window, as is what we are used to now. The command still exists, though it is less useful now, as displaying the helpfile in a separate window is already the default for help.
    ---------------------------------
    Maarten L. Buis
    University of Konstanz
    Department of history and sociology
    box 40
    78457 Konstanz
    Germany
    http://www.maartenbuis.nl
    ---------------------------------

    Comment


    • #3
      I wonder what Stata version you’re using. Is it an older version?
      Best regards,

      Marcos

      Comment


      • #4
        Originally posted by Maarten Buis View Post
        That is strange, for a number of reasons: the obvious problem is the addition of w. But even if the letter w is added to help, whelp is still a recognized command. In the old days (Stata 8 or less, the results of a help file were by default displayed in the output rather than in a separate window. whelp told Stata to display it in a separate window, as is what we are used to now. The command still exists, though it is less useful now, as displaying the helpfile in a separate window is already the default for help.
        This is interesting to know!

        Comment


        • #5
          Originally posted by Marcos Almeida View Post
          I wonder what Stata version you’re using. Is it an older version?
          I am currently using Stata V14.

          Comment


          • #6
            On a fully updated copy of Stata 14, I see the following.
            Code:
            . which help
            /Applications/Stata/ado/base/h/help.ado
            *! version 1.0.0  03jan2005
            
            . which whelp
            /Applications/Stata/ado/base/w/whelp.ado
            *! version 1.0.7  06sep2012
            and when I look at the source code for help I see that it merely calls either whelp or chelp.

            I suspect that whelp.ado is missing from the installation. Try the same two which commands I used and post the results.

            Comment


            • #7
              Thank you William!

              Comment

              Working...
              X