Indiana University
University Information Technology Services
  
What are archived documents?

In Stata, how do I change the path to user-written ado files?

By default, Stata for Windows uses the c:\ado directory for user-written ado files. You can list Stata's system directories by executing the .sysdir command:

.sysdir STATA: C:\Program Files\Stata10\ UPDATES: C:\Program Files\Stata10\ado\updates\ BASE: C:\Program Files\Stata10\ado\base\ SITE: C:\Program Files\Stata10\ado\site\ PLUS: c:\ado\plus\ PERSONAL: c:\ado\personal\ OLDPLACE: c:\ado\

If you need to change the default path, run the .sysdir set command. Suppose you store Long and Freese's SPost module in the e:\ado\plus directory of a memory stick or flash card. You would 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 e:\ado\plus directory.

For more information about statistical and mathematical software, email the UITS Stat/Math Center, visit the center's web page, or phone 812-855-4724 (IUB) or 317-278-4740 (IUPUI). The center is located in Bloomington at 410 N. Park Avenue, and is open for consultation by appointment Monday-Friday 9am-5pm.

Also see:

This is document arur in domain all.
Last modified on November 13, 2008.
Please tell us, did you find the answer to your question?