Announcement

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

  • add new adopath permanently

    Dear statatlists,

    this might be trivial but still cant find a good answer online. I like to keep my ado files in specific folder on the dropbox, so each time i have to specify the path with
    Code:
     adopath + "..."
    . Is there a simple way to add this folder as permanent system directory so i do not have to specify it each time i run stata?

    Thanks for help!

  • #2
    Add it to your profile.do with a command like:

    Code:
     sysdir set personal `"C:/dropbox/myado/"'
    See -help profile-

    Eric A. Booth | Senior Director of Research | Far Harbor | Austin TX

    Comment


    • #3
      Great thank you Eric

      Comment


      • #4
        Dear Eric,
        How can I deal with this error message:
        package installation
        -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

        package name: sg104.pkg
        from: http://www.stata.com/stb/stb48/

        checking sg104 consistency and verifying not already installed...
        cannot write in directory c:\ado\plus\g
        Thanks,
        Dapel

        Comment


        • #5
          Zuhumnan Dapel. The known adopath is being used in trying to install this program. Almost certainly you don't have write permission on your C: drive. Talk to your local IT support people or change the adopath so that you are trying to install somewhere where you do.

          Let's suppose that you can use an external device as F:

          Then something like

          Code:
          sysdir set PLUS f:\ado\plus
          followed by another attempt to install may work.

          If this doesn't help, you have to tell where you can install files.

          In this particular case, watch out:

          Code:
          . search sg104, entry historical
          
          Search of official help files, FAQs, Examples, SJs, and STBs
          
          STB-48  sg104 . . . . . . . . . . . . . . . . Analysis of income distributions
                  (help sumdist, xfrac, ineqdeco, geivars if installed) .  S. P. Jenkins
                  3/99    pp.4--18; STB Reprints Vol 8, pp.243--260
                  various programs for summarizing distributions, and income
                  distributions in particular
          These are programs from 1999. I'll guess that in at least some cases Stephen Jenkins has written more up-to-date versions.

          Comment


          • #6
            Nick is correct. Updated versions of almost all of these programs exist, and are downloadable from SSC.

            Comment


            • #7
              Thank you very much. I will attempt this once I get on the PC as am currently using a different PC with no issue.

              Comment

              Working...
              X