Announcement

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

  • Masoumeh Sanagou
    started a topic tabcount

    tabcount

    Hi STATALIST,

    I downloaded tabcount files from "https://ideas.repec.org/c/boc/bocode/s429501.html" and saved them into "C:\ado\plus\t". But when I was running

    Code:
    tabcount  Year_of_Diagnosis diagnosis_age_group1 if Sex_Group==1
    I got "command TABCOUNT is unrecognized" error message.

    Any suggestions on how to solve this problem?



  • Masoumeh Sanagou
    replied
    IT man had a look at your posts and solved the problem.

    I really appreciate your help.

    Leave a comment:


  • Nick Cox
    replied
    Look at what dir is showing you.

    You have no file tabcount.ado but just two files from failed attempts to install. One of those files is tabcount.ado with just a spurious extra extension, .txt.
    Change the extension to just .ado using your operating system.

    The .mht file is no use to Stata.

    That is why Stata is telling you that it can't see a tabcount command.

    That is why the SSC pages tell you not to install with a browser.

    I already answered your second question. If you don't understand what the settings mean, you need to ask locally. I can't tell you what your proxy host is if you have one. You shouldn't post such details any way.

    As #2 already flagged, installation using a browser just causes problems except possibly if you have a very good understanding of Stata and Windows. It's far better to learn how to use the ssc command. That is why it was written.

    Leave a comment:


  • Masoumeh Sanagou
    replied



    Thanks.

    It is not clear to me that what I should do after
    Code:
    help netio

    by the way, the result is
    Code:
    . dir c:\ado\plus\t\tabcount*
     7.3k  10/17/17  9:54  tabcount.ado.txt 
     6.4k  10/17/17  9:55  tabcount.hlp     
     6.9k  10/16/17 13:36  tabcount.hlp.hlp 
     2.4k  10/17/17  9:56  tabcount7.ado.mht
     2.2k  10/17/17  9:56  tabcount7.hlp    
     1.9k  10/16/17 13:38  tabcount7.hlp.hlp

    Leave a comment:


  • Nick Cox
    replied
    It's not clear to me that you really installed tabcount properly before. Show us the results of

    Code:
    which tabcount, all  
    dir c:\ado\plus\t\tabcount*
    It is possible that Stata is not set up to install stuff properly. In my experience, the first three settings discussed by

    Code:
    help netio
    namely

    Code:
     Turn on or off the use of a proxy server
    
            set httpproxy {on|off} [, init]
    
    
        Set proxy host name
    
            set httpproxyhost ["]name["]
    
    
        Set the proxy port number
    
            set httpproxyport #
    often need attention before anything can be downloaded properly from SSC. If these don't make sense to you, you may need help from your local technical support people.

    Leave a comment:


  • Masoumeh Sanagou
    replied
    Thank you for your prompt reply.


    Code:
    . ssc inst tabcount
    connection timed out -- see help r(2) for troubleshooting
    http://fmwww.bc.edu/repec/bocode/t/ either
      1)  is not a valid URL, or
      2)  could not be contacted, or
      3)  is not a Stata download site (has no stata.toc file).
    r(2);


    and

    Code:
    . adopath
      [1]  (BASE)      "C:\Program Files (x86)\Stata15\ado\base/"
      [2]  (SITE)      "C:\Program Files (x86)\Stata15\ado\site/"
      [3]              "."
      [4]  (PERSONAL)  "c:\ado\personal/"
      [5]  (PLUS)      "c:\ado\plus/"
      [6]  (OLDPLACE)  "c:\ado/"

    Leave a comment:


  • Nick Cox
    replied
    This should work so long as that is along your adopath. Show us the results of

    Code:
    adopath
    I am concerned that you mention a website page rather than SSC. Did you notice the strong advice on the page you mentioned?


    This module may be installed from within Stata by typing "ssc install tabcount". Windows users should not attempt to download these files with a web browser.

    Leave a comment:

Working...
X