Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: StataMP and stata-mp and profile.do
From
Ryan Turner <[email protected]>
To
[email protected]
Subject
st: StataMP and stata-mp and profile.do
Date
Wed, 18 Dec 2013 22:30:45 -0500
Dear Statalist:
I mainly use StataMP (ie the GUI version) version 11.2 on a Mac, and I have put (a symbolic link to) my profile.do in ~/Library/Application Support/Stata as instructed at -help profilem-. This works just fine.
I recently started using stata-mp (console version) for some batch mode processing, and I noticed that my profile.do is not executing. The documentation (e.g. http://www.stata.com/manuals13/gsub.pdf pg. 3) is very clear that profile.do will run in batch mode.
It appears stata-mp is running as a unix program (obviously so since OS X is unix, but I did not think the same OS X installation would behave differently between GUI and console) and that the instructions in -help profileu- apply. Moving profile.do to ~/Library/Application Support/Stata/ado/personal causes it to be read both by StataMP (GUI) and stata-mp (console), becaues this path is in adopath as described in both -help profilem- and -help profileu-.
Why then does -help profilem- contain this line:
We recommend that you put profile.do in ~/Library/Application Support/Stata.
when this path is not in the 4 search locations (and not in adopath) described in the same article? Why does it even work? And why is it recommended (being non-portable as demonstrated)?
Best,
Ryan
--
Ryan J. Turner <[email protected]>
Engineering and Public Policy
Carnegie Mellon University
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/