Announcement

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

  • Cannot find ado/personal

    Hello Statalisters,

    I'm writing a short programme to help with some graphing tasks, and i'm running into a problem locating my ado/personal folder.

    I'm running Stata on Mac OSX El Capitan, and the output from - sysdir - is:

    Code:
    STATA:  /Applications/Stata/
    BASE:  /Applications/Stata/ado/base/
    SITE:  /Applications/Stata/ado/site/
    PLUS:  ~/Library/Application Support/Stata/ado/plus/
    PERSONAL:  ~/Library/Application Support/Stata/ado/personal/
    OLDPLACE:  ~/ado/
    However, when I go to the terminal to try and access this folder I receive the following error:

    Code:
    $ ~/Library/Application Support/Stata/ado/personal/
    
    -bash: /Users/chris.larkin/Library/Application: No such file or directory
    Further, when I go directly to:
    Code:
    $ ~/Library/
    via the terminal, and look through the Application Support folder nested under Stata, I can only find ado/plus/, but no ado/personal/. Stata seems to think there is though - do I need to make one in the location Stata thinks it exists?

    Many thanks in advance!

  • #2
    You have to make the folder (directory) first. Stata is promising you that it will look there for ados if and when it exists but you have to make it first. There is no inherent problem in never populating it. Without thinking much about it at all I tend to put what I write myself in PLUS. Stata doesn't care about the difference if you don't.

    Comment


    • #3
      Let me offer some advice on bash shell syntax.
      Code:
      $ cd ~/Library/Application\ Support/Stata/ado/personal/
      $ pwd
      /Users/lisowskiw/Library/Application Support/Stata/ado/personal
      $
      Note the need for the cd command before the directory name, and the need for a backslash to escape the embedded space in the "Application Support" directory name.

      Comment


      • #4
        Hi both, thanks for the comments.

        Nick, that's good to know - i was worried that i'd had an install problem. I might take your advice and just put my programmes in the PLUS directory.

        William, I appreciate the schooling. I'll bear that in mind when using bash to search for directories with embedded spaces again

        Comment

        Working...
        X