In Stata, how do I change the path to user-written ado files?
By default, Stata for Windows uses the
directory for user-written ado files. You can list Stata's system
directories by executing the
.sysdir STATA: C:\Program Files\Stata11\ UPDATES: C:\Program Files\Stata11\ado\updates\ BASE: C:\Program Files\Stata11\ado\base\ SITE: C:\Program Files\Stata11\ado\site\ PLUS: c:\ado\plus\ PERSONAL: c:\ado\personal\ OLDPLACE: c:\ado\
If you need to change the default path, run the
set command. Suppose you store Long and Freese's SPost module
e:\ado\plus directory of a memory stick or flash
card. You would then need to run the following command:
.sysdir set PLUS "e:\ado\plus" or .sysdir set PERSONAL "e:\ado\plus"
Stata will then find user-written commands in the
If you have questions about using statistical and mathematical software at Indiana University, email UITS Research Analytics. Research Analytics is located on the IU Bloomington campus at Woodburn Hall 200, and is open for consultation by appointment Monday-Friday 9am-5pm. For more, see Research Analytics, or call 812-855-4724 (IUB) or 317-278-4740 (IUPUI).
This is document arur in the Knowledge Base.
Last modified on 2014-06-25.
- Fill out this form to submit your issue to the UITS Support Center.
- Please note that you must be affiliated with Indiana University to receive support.
- All fields are required.