Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: changing adopath and profile.do with mac OSX


From   Daniel Becker <daniel.becker@uni-rostock.de>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: changing adopath and profile.do with mac OSX
Date   Tue, 22 Jul 2008 23:09:35 +0200

Hallo Nirali -

I have my profile.do in the same directory as Stata.app. It reads:

sysdir set OLDPLACE "~/Library/Application Support/Stata/ado/"
sysdir set PLUS "~/Library/Application Support/Stata/ado/plus/"
sysdir set PERSONAL "~/Library/Application Support/Stata/ado/personal/"

set memory 32m


When I type sysdir, I get:

. sysdir
   STATA:  /Applications/DanielApps/Stata/
 UPDATES:  /Applications/DanielApps/Stata/ado/updates/
    BASE:  /Applications/DanielApps/Stata/ado/base/
    SITE:  /Applications/DanielApps/Stata/ado/site/
    PLUS:  ~/Library/Application Support/Stata/ado/plus/
PERSONAL:  ~/Library/Application Support/Stata/ado/personal/
OLDPLACE:  ~/Library/Application Support/Stata/ado/

Hope this helps...

Daniel

Am 22.07.2008 um 21:22 schrieb Nirali Shah:

Hi,
I am using Stata 9 with my new Mac. I want to permanently change where new .ado files are downloaded and stored, and to have a profile.do start each time I start Stata.

Currently, when I type -sysdir-, I see:
STATA: /Applications/Stata/
UPDATES: /Applications/Stata/ado/updates/
BASE: /Applications/Stata/ado/base/
SITE: /Applications/Stata/ado/site/
PLUS: ~/ado/plus/
PERSONAL: ~/ado/personal/
OLDPLACE: ~/ado/

I can change the paths for PLUS and PERSONAL using:
sysdir set PLUS "/Applications/Stata/ado/plus/" and
sysdir set PERSONAL "/Applications/Stata/ado/personal/", but when I restart Stata, these directories revert to that above. How do I make my directory change permanent?

In a related question, I thought I could create a do file which would run automatically when I start Stata. I saved it in "/Library/ Application Support/Stata", but this does not seem to work either.

Any assistance for a new Mac and statalist user is appreciated.
Nirali
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index